Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Install / Boot
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
  #1 (permalink)  
Old 24-Apr-2008, 22:21
michelandre
Guest
 
Posts: n/a
Default

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é
  #2 (permalink)  
Old 26-Apr-2008, 23:22
init7
Guest
 
Posts: n/a
Default

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
  #3 (permalink)  
Old 28-Apr-2008, 01:01
michelandre
Guest
 
Posts: n/a
Post

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2