|
Autoyast and Root Password
Hi all!
I am using AutoYast to install a SuSE-10.2. I would like to be ask for the root password before the installation begins.
I have to use 10.2 only.
I tried with <ask>:
...
...
<general>
<ask-list config:type="list">
<ask>
<title>PASSWORD FOR USER root</title>
<path>users,user,0,user_password</path>
<question>Enter root password</question>
<stage>initial</stage>
<help>Enter the password for the superuser "root".</help>
<password config:type="boolean">true</password>
</ask>
...
...
<users config:type="list">
<user>
<!-- <encrypted config:type="boolean">true</encrypted> -->
<fullname>root</fullname>
<gid>0</gid>
<home>/root</home>
<password_settings>
<expire></expire>
<flag></flag>
<inact></inact>
<max></max>
<min></min>
<warn></warn>
</password_settings>
<shell>/bin/bash</shell>
<uid>0</uid>
<username>root</username>
</user>
</users>
...
I deleted all the other users so to have only root. That way I am able to use: <path>users,user,0,user_password</path> in the ask section. All runs OK, the installer asks for the root password and verifies if both of the entries are OK then it continues. It terminates OK and reboot.
When I login root with the password I entered in the installation, I fail to login.
Where do I go wrong.
Any help appreciated.
Michel-André
|