LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 02-05-2009, 11:13 AM   #1
twk
Member
 
Registered: Feb 2002
Location: Canada
Distribution: Fedora/RHEL
Posts: 152

Rep: Reputation: 31
Administrative/root password management


I recently inherited administrative(root) password management task from an user who is no longer on my team. From what he told me, He changes root passwords manually for ~200 Linux servers, and because of that, he barely get 1 password change done per system per year. I find his process quite tedious and inefficient. I am curious as to how others, especially sysadmins who manage over hundreds of servers, manage their root passwords? Ideally I would like to get quarterly password changes. All our server has LDAP enabled for non-root login.

Currently I am thinking of writing a script that generates different salted MD5 hash in /etc/shadow format, and push it to the systems through our management server (it has pub key auth to all managed servers).

Thank you for your input.

Last edited by twk; 02-05-2009 at 11:16 AM.
 
Old 02-05-2009, 12:26 PM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
Some security freaks out there might not like this suggestion, but if you're looking to use a script that requires interactive input, look into the Expect scripting language.

My dad used to use it when he was a sysadmin for Bell.
 
  


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
What if administrative password is lost in Fedora core5? karnati Linux - Newbie 6 12-28-2009 12:20 PM
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 04:11 AM
administrative programs ask for user password? efm Ubuntu 1 02-05-2007 04:11 AM


All times are GMT -5. The time now is 05:04 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration