[Spacewalk-list] Deploy a root password change

Justin Edmands shockwavecs at gmail.com
Tue Aug 25 20:24:21 UTC 2015


You change the root pw on one machine, grab the /etc/shadow entry, and sed replace the root line in the shadow file into a remote command to whatever systems you need to change.


> On Aug 25, 2015, at 4:13 PM, Franky Van Liedekerke <liedekef at telenet.be> wrote:
> 
> On Tue, 25 Aug 2015 19:45:06 +0000
> "Armstrong, Kenneth Lawrence (SYSADMIN)" <klarmstrong2 at liberty.edu>
> wrote:
> 
>> Is there a way to deploy a root password change to a group of servers
>> in Satellite 5.6?  I imagine something like this might be possible in
>> Satellite 6.x, but we don’t have that deployed yet.
> 
> Since spacewalk only has the root-pwd there for kickstart I don't think
> that is possible. I don't know if this helps, but: loop through your
> servers, do sudo and:
> 
> echo "root:newpass"|chpasswd
> 
> I know, it is not the config-method you're looking for (puppet,
> ansible), but sometimes the simplest things are sufficient too ... 
> 
> Franky
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list