Mailinglist Archive: opensuse-autoinstall (19 mails)

< Previous Next >
Re: [opensuse-autoinstall] Password encryption
  • From: Alan Mosca <alan@xxxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 11 Jul 2007 12:17:18 +0100
  • Message-id: <4694BC3E.9040207@xxxxxxxxxxxxxxxxxxxx>
-----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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
This Thread
References