2010/2/4 Jeffrey Watts <jeffrey.w.wa...@gmail.com>: > I think he means /etc/shadow.
Sorry, my mistake, really is a /etc/shadow can send to execute in all machines ( how root ): echo "fedora" | passwd -d root > /dev/null and shall have the root password fedora > There are several approaches, one would be to > script the 'passwd' command, using expect or something like it. The > downside is that you'll need to have the password in plain text in the > script. You could then use Spacewalk to run the script remotely. This is > probably what I'd do, but make sure you test it thoroughly first, as if you > screw it up you might make your systems inaccessible. > > Another option would be to copy the password hash from a system where you've > set that password, and then write a script to edit /etc/shadow on a target > system and replace the old string with the new one. > > Finally, if your systems are all homogeneous, you can simply push out a new > shadow file with the updated hash. Most people won't be in this situation. > > Jeffrey. > > On Wed, Feb 3, 2010 at 10:51 AM, Edwind Richzendy Contreras Soto > <richze...@gmail.com> wrote: >> >> 2010/2/4 Michiel van Es <michi...@info.nl>: >> > Hi, >> > >> > Is it possible to change the root password on all machines in a group? >> > We want to change the root password for al lot of systems, we thought >> > perhaps is spacewalk of some use (since you can install packages, reboot >> > the >> > machines) >> > >> > Is such an option possible through spacewalk? >> > >> > Kind regards, >> > >> > Michiel >> >> if it generates a new file / etc / passwd and charges through the area >> concerning configuration files (perhaps your user role does not allow >> you to do this) and only select group of systems the option to work >> with group and send him to send the configuration file to all >> computers SSM. >> >> Another option is through a small script using sed-i editing the file >> / etc / passwd directly on each machine together (SSM). >> > > _______________________________________________ > Spacewalk-list mailing list > Spacewalk-list@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-list > _______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list