LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-22-2006, 03:22 PM   #1
noir911
Member
 
Registered: Apr 2004
Posts: 682

Rep: Reputation: Disabled
automating password change remotely


Once in every month or so I need to change 3 passwords (for 3 users) on 30~35 boxes. I do so by login in via ssh on each box individually. These passwords are used to login to the boxes remotely (via ssh) and physically.

Is there any way I can automate the process? Imagine I had to deal with 5,000 boxes!

The boxes are mostly Fedora and RHL and in "sshd_config" "PermitRootLogin" is set to "no" so no one can ssh as root.

Last edited by noir911; 03-22-2006 at 03:25 PM.
 
Old 03-23-2006, 08:32 AM   #2
demian
Member
 
Registered: Apr 2001
Location: Bremen, Germany
Distribution: Debian
Posts: 303

Rep: Reputation: 30
The only way I can think of is using expect. It's a scripting language that let's a automize interactive tasks. Here's a short introduction that should get you started:
http://www.linuxjournal.com/node/4368/print
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
howto change samba password remotely from a windows client? yafrank Linux - Networking 8 08-04-2013 12:16 PM
change boot OS remotely zchoyt Linux - Software 6 11-02-2005 06:12 AM
howto change samba password remotely from a windows client? yafrank Linux - Software 2 01-21-2005 12:14 PM
Remotely change gateway alantone Linux - Networking 5 01-20-2005 04:53 PM
VSFTPD - Change Password Remotely? foxbat77 Linux - Networking 0 08-31-2004 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration