Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

How do I modify the shadow password file on a Unix system?

by faq_monk (Initiate)
on Oct 08, 1999 at 00:29 UTC ( #719=perlfaq nodetype: print w/replies, xml ) Need Help??

Current Perl documentation can be found at

Here is our local, out-dated (pre-5.6) version:

If perl was installed correctly, and your shadow library was written properly, the getpw*() functions described in the perlfunc manpage should in theory provide (read-only) access to entries in the shadow password file. To change the file, make a new shadow password file (the format varies from system to system - see passwd(5) for specifics) and use pwd_mkdb(8) to install it (see pwd_mkdb(5) for more details).

Log In?

What's my password?
Create A New User
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2017-05-28 02:27 GMT
Find Nodes?
    Voting Booth?