Hi, I need to maintain a same user/group list on multiples systems. Can we just copy the same passwd and groups file on all machines? If we create a new user on one system then I will need to copy this to all other systems. This is quite cumbersome. Any suggestions? - CS.
2009/7/29 Carlos Santana <neubyr at gmail.com>:> I need to maintain a same user/group list on multiples systems. Can we > just copy the same passwd and groups file on all machines? > If we create a new user on one system then I will need to copy this to > all other systems. This is quite cumbersome. Any suggestions?Go the directory route, OpenLDAP or CentOS Directory Server. If there was some reason needed to stick with /etc/passwd and /etc/group, use puppet, cfeingine, or some other configuration management system to manage your files. Se?n
Hi, On Wed, Jul 29, 2009 at 11:13, Carlos Santana<neubyr at gmail.com> wrote:> I need to maintain a same user/group list on multiples systems. Can we > just copy the same passwd and groups file on all machines?Tipically yes (assuming all systems were freshly installed from scratch and do not have any conflicts), but you will have the problem even you said below:> If we create a new user on one system then I will need to copy this to > all other systems. This is quite cumbersome. Any suggestions?Set up LDAP and use NSS (RPM package named nss_ldap) to get the account information from LDAP. HTH, Filipe
Carlos Santana wrote:> Hi, > > I need to maintain a same user/group list on multiples systems. Can we > just copy the same passwd and groups file on all machines? > If we create a new user on one system then I will need to copy this to > all other systems. This is quite cumbersome. Any suggestions? >the old fashion way of doing this was NIS ... but I'm with everyone else in saying go with LDAP directory services, and further, use a NFS automount for their home directories.
On Wed, 2009-07-29 at 10:13 -0500, Carlos Santana wrote:> Hi, > > I need to maintain a same user/group list on multiples systems. Can we > just copy the same passwd and groups file on all machines?Don't forget about /etc/shadow.> If we create a new user on one system then I will need to copy this to > all other systems. This is quite cumbersome. Any suggestions? > > - > CS. > <snip sig stuff>-- Bill
At Wed, 29 Jul 2009 10:13:46 -0500 CentOS mailing list <centos at centos.org> wrote:> > Hi, > > I need to maintain a same user/group list on multiples systems. Can we > just copy the same passwd and groups file on all machines? > If we create a new user on one system then I will need to copy this to > all other systems. This is quite cumbersome. Any suggestions?Check out OpenLDAP: http://www.centos.org/docs/5/html/Deployment_Guide-en-US/ch-ldap.html> > - > CS. > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > >-- Robert Heller -- 978-544-6933 Deepwoods Software -- Download the Model Railroad System http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows heller at deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/