http://www.perlmonks.org?node_id=158443

c has asked for the wisdom of the Perl Monks concerning the following question:

Can setpwent be used on its own to set the value of a unix user's password? I read through the setpwent PM page, as well as my local linux man page, but the examples are only for the getpw* clan. Am I misinterpreting this function's use?

It seems as though I am as my man page states that setpwent soley positions the file pointer to the beginning of /etc/passwd. In a shadowed environment, am I going down the wrong path?

humbly -c