• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Administrator password
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Administrator password


  • Subject: Re: Administrator password
  • From: Jerry Krinock <email@hidden>
  • Date: Tue, 14 Nov 2006 07:09:35 -0500
  • Thread-topic: Administrator password

on 06/11/14 5:12, Quinn at email@hidden wrote:

> this topic's hardly kernel related...

Yes, it looks like we've wandered into the Apple-CDSA topic?

> Please do not use NetInfo for this sort of stuff...

OK, I get it.

> To validate a password programmatically, use the code from CryptNoMore.
>
> <http://developer.apple.com/samplecode/CryptNoMore/index.html>

This is quite interesting code; I'm beginning to understand the relative
uses of OpenDirectory, PAM and Crypt.  But chkpasswd seems to work fine in
my program.  Is there a reason to not "just" call chkpasswd()?

> To [ check whether a user is a member of a group] programmatically, just use
<x-man-page://3/getgrgid> (or <x-man-page://3/getgrnam>).

Good!  This is what I've done, using getgrnam.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Administrator password
      • From: Quinn <email@hidden>
References: 
 >Re: Administrator password (From: Quinn <email@hidden>)

  • Prev by Date: Re: Administrator password (Getting list of admins)
  • Next by Date: How to build a new ISO 9660 FS and test it
  • Previous by thread: Re: Administrator password
  • Next by thread: Re: Administrator password
  • Index(es):
    • Date
    • Thread