Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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.

--MidLifeXis

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://861074]
help
Chatterbox?
[Corion]: A good morning to everybody!
[Lady_Aleena]: Morning Corion.
[Corion]: I spent yesterday evening (and early night) in VR in Vanishing Realms, and can really recommend it
Discipulus is a very sad mornig anyway..
[Corion]: The title/"cover" image doesn't convey the comic/painted style, and the gameplay is really diverse, especially for a VR game

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2017-05-23 07:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?