LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 03-18-2008, 08:34 PM   #1
richinsc
Member
 
Registered: Apr 2007
Location: Utah
Distribution: Gentoo Linux (3.0.6-gentoo)
Posts: 222

Rep: Reputation: 32
Synchronize passwd and shadow for multiple debian servers


I would like to know what the best way (if any) to snyc all user names and password with Debian servers. I have several Debian machines and it has become cumbersome to change the passwords on each. Is there a way to rsync or sync the files so that users names and passwords are same for ssh. I know this defeats security from hackers, but can it be done? The systems in question are different in configuration but user names are same on all..

I may or may not implement it but want to know if can be done. Currently I have several boxes with diffrent passwords for security resason. Don't want one box to (heaven forbid) get hacked and have the attacker gain access to all systems with same password.
 
Old 03-18-2008, 10:29 PM   #2
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
why not use an authentication machine using LDAP.

http://www.opensourcehowto.org/how-t...-openldap.html - Setup OpenLDAP

http://www.opensourcehowto.org/how-t...-openldap.html - OpenSSL & OpenLDAP

http://www.opensourcehowto.org/how-t...ap-server.html - LDAP linux client with OpenLDAP server
 
Old 03-19-2008, 12:17 AM   #3
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
NIS is another option http://en.wikibooks.org/wiki/Transwi...tion_on_Debian or http://www.tldp.org/HOWTO/NIS-HOWTO/

LDAP would be more secure
 
  


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
Need a script to synchronize with public time servers basis1980 Linux - Newbie 3 11-28-2007 10:34 AM
Moving /etc/passwd and /etc/shadow john8675309 Linux - Software 1 01-24-2005 09:44 PM
It is ok if i unshadow the /etc/passwd and /etc/shadow Paxmaster Linux - Software 1 01-12-2005 11:07 PM
mismatch with /etc/passwd and /etc/shadow AngryKeebler Linux - General 1 07-23-2004 04:42 PM
/etc/passwd or /etc/shadow? tiger7007 Linux - Security 2 03-21-2004 05:41 AM


All times are GMT -5. The time now is 03:25 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration