Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: resetting a password entry with setpwent?

by tbo (Scribe)
on Apr 11, 2002 at 23:55 UTC ( #158446=note: print w/replies, xml ) Need Help??


in reply to resetting a password entry with setpwent?

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.
  • Comment on Re: resetting a password entry with setpwent?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2021-07-24 07:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?