Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://818429]
help
Chatterbox?
[M4ver1k]: I feel like being able to toggle a running script on the fly by updating variables from a config file using Config::Simple. But in the while loop, it seems like it doesn't update the variable after the first past. Is this generally just a bad idea?
[M4ver1k]: pass*

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2017-11-20 03:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (283 votes). Check out past polls.

    Notices?