Sean Carolan
2009-Feb-08 18:32 UTC
[CentOS] Consistent .bashrc, .bash_profile, and .aliases across all machines
What do you use to keep your environment files like .bashrc, .bash_profile, etc. synchronized across all your servers?
jkinz at kinz.org
2009-Feb-08 19:01 UTC
[CentOS] Consistent .bashrc, .bash_profile, and .aliases across all machines
On Sun, Feb 08, 2009 at 12:32:53PM -0600, Sean Carolan wrote:> What do you use to keep your environment files like .bashrc, > .bash_profile, etc. synchronized across all your servers?in order of increasing Network size 1. a script of scp commands eg: for f in list of hosts; scp file ${f} .... 2. rsync, unison scripts 3. NIS 4. LDAP (What? LDAP? How does that help? ans: you can put anything you want in LDAP.) ymWv! (Your mileage WILL vary) Also - Look at the SAGE proceedings for excellent info on these and other Sysadmin topics Jeff Kinz. --
Jake
2009-Feb-08 19:06 UTC
[CentOS] Consistent .bashrc, .bash_profile, and .aliases across all machines
> On Sun, Feb 08, 2009 at 12:32:53PM -0600, Sean Carolan wrote: >> What do you use to keep your environment files like .bashrc, >> .bash_profile, etc. synchronized across all your servers?Our user accounts are created by running a script on an LDAP server that sets up the account in LDAP and creates the home directory on an NFS share. In this way, /etc/skel, etc. is maintained on the ldap server and nowhere else. -- Jake Paulus JakePaulus at gmail.com
Per Qvindesland
2009-Feb-08 20:45 UTC
[CentOS] Consistent .bashrc, .bash_profile, and .aliases across all machines
Hi Jake Appologies but I am wondering if you could give me a sample of that script, I am currently busy with setting up something similar where I work and it would be greate to perhaps get some new ideas. Regards Per Qvindesland On 2/8/09 8:06 PM, "Jake" <jakepaulus at gmail.com> wrote:> to