|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - Install / Boot Troubles installing SuSE Linux? Get weird messages during boot? Post in here... |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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> <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é |
|
|||
|
Don't know about Autoyast, but if you need to reset root password, take a careful look at this thread http://forums.suselinuxsupport.de/in...howtopic=64869
|
|
|||
|
Hi all!
I found the solution after many try & error: FOR THE ASK SECTION: <ask> <title>PASSWORD FOR USER root</title> <path>users,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> FOR THE USERS SECTION: <users config:type="list"> <user> <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> <forename/> <surname/> </user> </users> |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|