Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Change linux root passwor

by rubasov (Friar)
on Jan 20, 2010 at 11:38 UTC ( #818429=note: print w/ replies, xml ) Need Help??


in reply to Change linux root passwor

Just one more advice beyond marto's response: you should not pass the password to your script as a command line argument because it will appear in the output of ps (and in the /proc file system) and other users of the system can read it. Write it to the script and apply chmod 700 on it, or better read it from the standard input.


Comment on Re: Change linux root passwor

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2014-12-27 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls