Hi Christian Using a postscript to manage passwd, group and shadow seems a simple and elegant solution to me.
Using ansible would let me use template files which are even better, Thanks for the suggestions!! Cheers, On Tue, 2018-06-19 at 14:15 +0000, Christian Caruthers wrote: > Some suggestions: > > Rather than sync'ing the passwd, group, and shadow files to the systems, use a > postscript to simply appended what you need to those files. > > Set the xCAT management node up as an NIS server. > > Set up ansible on xCAT MN to manage/create user accounts. > > Connect to LDAP or AD domain. > > Regards, > Christian Caruthers > Lenovo Professional Services > Mobile: 757-289-9872 > > -----Original Message----- > From: Daniel Hilst Selli <dan...@versatushpc.com.br> > Sent: Monday, June 18, 2018 12:56 > To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net> > Subject: [External] [xcat-user] What is the best way for changing/maintain > users/groups/passwords for the computing nodes? > > Hi! > > I had a problem where I couldn't login to a computing node with the password > contained at system key of passwd table. I search in the internet for options > on setting password for xcat. > > The documentation says > > chtab key=system passwd.username=root passwd.password=abc123 > > But I don't really understand how this password would get to /etc/shadow of > the computing nodes. Changing the password and reboot stateless node doesn't > has effect, the node keep using the old password and passwd table and nodes > /etc/shadow are out of sync. > > I saw people on internet synchronizing /etc/{group,shadow,passwd} from > management node, but if this is the case, what is the point of the system key > on passwd table? > > Any suggestion on how to handle computing node users will be appreciated! > > > Regards, > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most engaging tech > sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > xCAT-user mailing list > xCAT-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xcat-user > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > xCAT-user mailing list > xCAT-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xcat-user ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user