Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: using Unix::PasswdFile to change either the password or the shell of a user

by rodion (Chaplain)
on Jul 29, 2006 at 22:29 UTC ( [id://564565]=note: print w/replies, xml ) Need Help??


in reply to using Unix::PasswdFile to change either the password or the shell of a user

The password file used to be a single file which had the scrambled passwords directly in it. Although you sometimes still see this, most of the systems I've delt with keep the actual passwords elsewhere, in a file that's not as widely available as the /etc/passwd file (which needs to be available as a source of user info).

I took a look at the documentation and the source for Unix::PasswdFile and for Unix::ConfigFile, which does the reading and writing for it. I may have missed it, but I didn't see any handling of the shadow file, so that may be the problem.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://564565]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-03-28 20:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found