The only problem with using chpasswd or passwd, is they will not work with xdsh or psh because of the prompting, so if you have a lot of nodes you will have to do them one at a time with ssh. One way to get it to run with the parallel command is to create a script with the following line or something like it. I have been unable to get it to work on the command line. $cmd = qq~echo $password | passwd testuser --stdin~;
Lissa K. Valletta 2-3/T12 Poughkeepsie, NY 12601 (tie 293) 433-3102 From: Luis Cabellos <[email protected]> To: [email protected] Date: 06/26/2012 06:27 AM Subject: Re: [xcat-user] Changing passwords with xCat One options is to rsync /etc/passwd , /etc/group and /etc/shadow to the nodes You can build a file (filex) containing the following line: /etc/passwd /etc/group /etc/shadow -> /etc and xdcp <noderange> -F filex If you do not want the same files as on the Management Node, then fix one node and copy, the files to some other directory on the Management Node and use xdcp or prsync to send the files to the ndoes. Thanks for the idea, It's clear that I need to change the password in the xCat table and then a `manual` process to update already installed nodes. But I think i'll be better to use chpasswd or passwd instead. Because the salt. Lissa K. Valletta 2-3/T12 Poughkeepsie, NY 12601 (tie 293) 433-3102 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
<<inline: graycol.gif>>
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
