Mailinglist Archive: opensuse-autoinstall (101 mails)
| < Previous | Next > |
Re: [suse-autoinstall] root password
- From: Bjorn Tore Sund <bjornts@xxxxxxxxx>
- Date: Wed, 22 Mar 2006 14:29:54 +0000 (UTC)
- Message-id: <Pine.LNX.4.61.0603221527550.15798@xxxxxxxxxxxxxx>
On Wed, 22 Mar 2006 discip@xxxxxxx wrote:
> is there a way to set root's password throught autoinstall.xml?
> I put a stanza in for root, but it doesnt seem to take.
> If I try to do it with the gui, it tells me the user-defs conflict with an
> already existing user.
Here is what works for me:
<users config:type="list">
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>root er sjef</fullname>
<gid>0</gid>
<home>/root</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max>10000</max>
<min>0</min>
<warn></warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>0</uid>
<user_password>INSERT MD5-STRING OR EQUIV HERE</user_password>
<username>root</username>
</user>
</users>
Note that you use the encrypted string, not the actual password.
Bjørn
--
Bjørn Tore Sund Phone: (+47) 555-84894 Stupidity is like a
System administrator Fax: (+47) 555-89672 fractal; universal and
Math. Department Mobile: (+47) 918 68075 infinitely repetitive.
University of Bergen VIP: 81724
Support: http://bs.uib.no Contact: teknisk@xxxxxxxxx Direct: bjornts@xxxxxxxxx
| < Previous | Next > |