Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

automated change of password

Status
Not open for further replies.

bonsky

MIS
Apr 23, 2001
280
US
To all,
I have search and read few threads here, but again, i would like to ask all the gurus in the house is there any other simpler way to create a script that can automate a change of user password? Lets assume that i need to change about 400 users to different machines and i have access on via rsa on each one.
Thanks alot!
 
To start with take a look at the FAQ on this forum

faq52-5866

You'll see at the bottom a script called setpass. If you using 5.3 also see chpasswd.

The trickey bit will be running the script on remote servers, for this I'd advise you look at ssh.

One point why do you want to do this? Why not just set the passwd age in /etc/security/user ?

See
Mike

"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top