Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Changing OS user password

by Tanalis (Curate)
on Sep 02, 2005 at 09:51 UTC ( #488596=note: print w/replies, xml ) Need Help??

in reply to Changing OS user password

Passwd::Solaris seems to do what you want, though it needs to run as root, which probably isn't ideal.

You could probably achieve what you need to using Expect to call passwd directly, too.

There's probably a bunch of other ways to do it too, but they're the first couple that come to mind.

Hope that helps.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2016-10-28 01:59 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (374 votes). Check out past polls.