-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 That's what I ended up doing in the end, but I was wondering if there was an "autoyast way" of doing it. Anyway I managed a workaround so no hassle. Simon Crute wrote:
On Thursday 21 June 2007 19:45, Alan Mosca wrote:
More specifically I would like to get whatever the root password is in /etc/shadow and put it in autoyast.xml. I don't need to decrypt it. Is there a way of doing this?
Hi,
If I understand the question correctly, you want to create the hashed value in an autoyast script so you can add that to /etc/shadow. Is that correct ?
If so, try something like echo $user:$userpw | chpasswd
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGlLw+7/DrbyL5gesRAvcWAKCm9T8AVdGXse9BWugU9LKKeEAL7ACfbaeE oJYmWfJ+WneJBy9Fq32vytU= =W7cN -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org