Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

crypt and passwords



I once knew the magic incantations for being able to verify a passwd by 
passing the salt from the encrypted password and the unencrypted password to 
crypt() to see if you got a string matching the encrypted password.  I'm 
trying to write a small test program to do this, but I am not getting the 
encrypted string back.

My first guess is this has to do with /etc/shadow passwords now using MD5, but 
according to the crypt man page, it should handle that.

This is Red Hat 7.3.
 
-------------------------------------------------------------------
DDDD   David Kramer                   http://thekramers.net
DK KD  "This must be Thursday", said Arthur to himself, sinking low
DKK D  over his beer.  "I never could get the hang of Thursdays."
DK KD  
DDDD             Douglas Adams, "Hitchhiker's Guide to the Galaxy".




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org