There's more than one way to do things | |
PerlMonks |
Re: resetting a password entry with setpwent?by tbo (Scribe) |
on Apr 11, 2002 at 23:55 UTC ( [id://158446]=note: print w/replies, xml ) | Need Help?? |
The function setpwent only reads /etc/passwd from the end to the begin (or /etc/shadow if the script is run by root). If you want to set the passwords (in a shadowed environment), you should use Passwd::Linux
if the unix is linux.
In Section
Seekers of Perl Wisdom
|
|