Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Password file manipulation

by robobunny (Friar)
on Aug 02, 2002 at 19:03 UTC ( #187179=note: print w/replies, xml ) Need Help??

in reply to Password file manipulation

i would highly recommend that you use your operating system's useradd or adduser command to manipulate the password file, instead of doing it yourself directly. you can easily write a wrapper around that to supply default arguments for the things you don't want to prompt for, if that is what you are looking for. otherwise, you need to worry about file locking, data that will screw up parsing the file, and a host of other problems that someone else has already thought about, and tested extensively (or one would hope, anyway).

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2023-12-01 00:45 GMT
Find Nodes?
    Voting Booth?

    No recent polls found