[nflug] /home, MySQL and user replication

eric eric at bootz.us
Tue Jan 16 11:31:59 EST 2007


For better or worse LDAP sounds best.

I'm still in openLDAP hell, and they won't let me out.


Cyber Source wrote:

>Darin Perusich wrote:
>  
>
>>the easiest and most efficient method to do this would be to setup a NIS
>>or LDAP services for your users/groups and use autofs to share /home to
>>all of your systems. if you have a machine that you can use as a
>>NIS/LDAP and NFS server it should be pretty simple. i would use LDAP
>>over NIS personally but the choice is yours.
>>
>>the only problem is replicating your passwd/shadow/group files is what
>>to do if you have a mix of different distros on you network. the
>>contents of said files are not likely to be the same between debian,
>>SuSE, fedora, etc. if you have all debian systems then use ssh/scp to
>>copy those files. use ssh-keygen to ssh keys on one machine as root,
>>them copy the id_rsa.pub from that machine to authorized_key2 on the
>>remote machine. you'll then be able to login with being prompted for a
>>password/phrase and you can use scp to do the copy.
>>
>>Wolfe, Robert wrote:
>>  
>>    
>>
>>>Recently installed Debian 4 on my other Sun Ultra 5 and would like to
>>>replicate my /etc/passwd and /etc/shadow files on that machine from my
>>>Debian 3.1 machine along with all the /home directories as well so users can
>>>use both the 3.1 and 4.0 boxes and still have the same files in their home
>>>directories on both machines.  However, I am having a heck of a time trying
>>>to figure this out and how to get it into a cron job.
>>>
>>>Any pointers to information on an easy way to do this would be very much
>>>greatly appreciated.
>>>
>>>    
>>>      
>>>
>>  
>>    
>>
>Also, if your going to do this, the user ID's need to be the same on all
>boxes!
>_______________________________________________
>nflug mailing list
>nflug at nflug.org
>http://www.nflug.org/mailman/listinfo/nflug
>  
>


-- 
after years of waiting...

_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list