Link to home
Start Free TrialLog in
Avatar of ronandersen
ronandersen

asked on

Verifying a user's password

I am writing a UNIX program to verify a user's UNIX user name and password. UNIX includes a structure called passwd that allows programmers to verify fields in the passwd file. Comparing and verifying the user inputted/supplied name can be accomplished using this structure; however, the users inputted/supplied password can not, since it must be encrypted before it can be used. Is there a function that encrypts the user's inputted password? Th objective is to compare it against the field in the passwd file.


ronandersen@hotmail.com
Avatar of ronandersen
ronandersen

ASKER

Edited text of question
This question should probably go under the topic UNIX programming, although administrators could benefit from the response.
Avatar of ozo
man 3 crypt

ASKER CERTIFIED SOLUTION
Avatar of hajek
hajek

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial