DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: MASS Password reset tool for Unix and Linux servers  (Read 10,335 times)

Mizraim

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 155
    • Cody Award
MASS Password reset tool for Unix and Linux servers
« on: May 07, 2008, 03:17 PM »
In my job, I have to do a lot of user password resets for multiple clients, on multiple servers. I was wondering if there was a tool or an application that can be made, or already has been made, to enter in the information and have it do it over multiple servers?

Example:

YOUR ID: johndoe
CLIENT ID: janedoe
Machine(s): server1, server2, server3, server4
YOUR PASS: password
NEW PASS: password


To do this manually, you'd have to enter something like this:

>ssh server1
(password prompt)
>sudo /usr/bin/passwd (userID)
(password prompt)
>exit

>ssh server2
(password prompt)
>sudo /usr/bin/passwd (userID)
(password prompt)
>exit

And so on. So if there is anyway to code this to work on Linux/Unix machines I'd really appreciate the help, and so would my co-workers.

Any questions, feel free to send me a PM.

Miz


belkira

  • Member
  • Joined in 2006
  • **
  • Posts: 52
    • Coding Snacks
Re: MASS Password reset tool for Unix and Linux servers
« Reply #1 on: May 07, 2008, 04:29 PM »
Something like Tentakel may work for you.... See this link for some info:

http://www.cyberciti.biz/tips/execute-commands-on-multiple-linux-or-unix-servers-part-ii.html

Mizraim

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 155
    • Cody Award
Re: MASS Password reset tool for Unix and Linux servers
« Reply #2 on: May 08, 2008, 01:54 PM »
Unfortunately, we work on Windows platform systems and use PuTTY to connect to the servers. I read through the information and it looks like this needs to be both installed and run from a Linux/Unix system. I appreciate the link though. 8)

Any Linux/Unix shell scripters out there that can help me create a mass password tool? :up:

Original address: https://www.donationcoder.com/forum/index.php?topic=13274.0