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

Re: Unix password change

by defyance (Curate)
on Mar 27, 2003 at 12:41 UTC ( #246225=note: print w/replies, xml ) Need Help??


in reply to Unix password change

This node may be what your looking for. It talks about a few different ways to do what you need. Personaly, I'd go for the first option, which uses Expect.pm. Before you venture down that road, however, make sure you have a copy of your /etc/passwd made, just to be safe.

-- Can't never could do anything, so give me and inch, I'll make it a mile.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://246225]
help
Chatterbox?
[Eily]: there are some special array variables that are not interpolated in double strings, like @*, @/, @(, and @)
[Eily]: is this documented somwhere?
[Eily]: "@{/}" does interpolate @/ though
[Eily]: (while the same for @*, @(, and @) throw a warning)

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (15)
As of 2017-06-23 13:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (547 votes). Check out past polls.