Dan Toganel wrote:

........................................
I realize that in FreeBSD master.passwd is the
replacement for linux shadow file.
Is there a function to parse it?
And how can i obtain the hash string?
Thanks in advance for any help.
It is not recommended directly use /etc/passwd, you your program need authentification, then use PAM (man 3 pam). If you still want ignore PAM, you can use getpwent(3) family of functions.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to