Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Reset unix passwords via Perl?

by MidLifeXis (Monsignor)
on Sep 21, 2010 at 14:08 UTC ( #861074=note: print w/replies, xml ) Need Help??

in reply to Reset unix passwords via Perl?

It was not mentioned if you have root access or not while running this change script, so anything that directly modifies the passwd file (or its moral equivalent) may be out of the question.

From a system safety (locks, race conditions), security (enforcing conditions for passwords in one location on a machine), and process standpoint (who knows if other wrappers have been placed around the passwd process), I would probably try something that can drive the OS-level passwd program on each host. This will probably be slower, however, than pushing a passwd entry out directly to each host.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2016-10-25 19:13 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (327 votes). Check out past polls.