Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Nov 2005 02:07:04 -0800 (PST)
From:      Dan Toganel <dantoganelus@yahoo.com>
To:        Igor Robul <igorr@speechpro.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD auth
Message-ID:  <20051103100705.38816.qmail@web51302.mail.yahoo.com>
In-Reply-To: <4368B5E7.4050309@speechpro.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--- Igor Robul <igorr@speechpro.com> wrote:

> 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.
>
Thanks for your interest.
Well, the problem with getpwent() is that i can't 
retrive hash from master.passwd, 
I can use it, only to parse passwd file.
But i also need to parse master.passwd to obtain 
the hash and to crypt user password and obtain 
the hash.
I need more specific help about those two.
 


	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051103100705.38816.qmail>