Using "getpwent" in SYSV/386

Doug Gwyn gwyn at smoke.BRL.MIL
Sat Nov 18 05:48:28 AEST 1989


In article <785 at ctdi.UUCP> mikei at ctdi.UUCP (Mike Israel) writes:
-This particular version of Unix stores encrypted passwords
-in a file called /etc/shadow.  The standard /etc/password field
-for the encrypted password simply contains an 'x'.  Using
-"getpwent" simply retrieves this 'x'.
-Is there an existing function to access the encrypted password?

NO, that's the whole point of having /etc/shadow.



More information about the Comp.unix.questions mailing list