On Wed, 22 Mar 2006 discip@pjm.com 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>
<expire></expire>
<flag></flag>
<inact></inact>
<max>10000</max>
<min>0</min>
<warn></warn>
<shell>/bin/bash</shell>
<uid>0</uid>
INSERT MD5-STRING OR EQUIV HERE
<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@mi.uib.no Direct: bjornts@mi.uib.no