Mailinglist Archive: opensuse-autoinstall (19 mails)
| < Previous | Next > |
Re: [opensuse-autoinstall] Password encryption
- From: Simon Crute <scrute@xxxxxxxxxx>
- Date: Fri, 6 Jul 2007 10:36:15 +0100
- Message-id: <200707061036.15203.scrute@xxxxxxxxxx>
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
--
Simon Crute
IS&T.
Bracknell.
UK.
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
> 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
--
Simon Crute
IS&T.
Bracknell.
UK.
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
| < Previous | Next > |