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. ~Paul
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> <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@mi.uib.no Direct: bjornts@mi.uib.no
On Wednesday 22 March 2006 15:22, discip@pjm.com wrote:
If I try to do it with the gui, it tells me the user-defs conflict with an already existing user.
you have to set the "filter" on the bottom right of the UI to "system user". Then you can see and edit the root account and configure the root password with the UI. I know, that's a bit hidden and we changed that for 10.1/SLES10 so that the root account is visible immediately. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
participants (3)
-
Bjorn Tore Sund
-
discip@pjm.com
-
Uwe Gansert