Mailinglist Archive: opensuse-autoinstall (19 mails)

< Previous Next >
Re: [opensuse-autoinstall] no root-login
  • From: Oliver Schweikert <osw@xxxxxxx>
  • Date: Wed, 04 Jul 2007 17:49:53 +0200
  • Message-id: <468BC1A1.606@xxxxxxx>
rprengel wrote:
> Ok
> 
> I read that it s neccessary to configure root for getting a working login.
> 
> My configuration is
> <user_defaults>
>     <expire></expire>
>     <group>100</group>
>     <groups>video,dialout</groups>
>     <home>/home</home>
>     <inactive>-1</inactive>
>     <shell>/bin/bash</shell>
>     <skel>/etc/skel</skel>
>   </user_defaults>
>   <users config:type="list">
>     <user>
>       <encrypted config:type="boolean">true</encrypted>
> 
> <user_password>$2a$05$RUvRq/6kCNrevZrV26PkOeibAs7eJzN3gfyDc65WvRh.TXnIl1Hma</user_password>
>       <username>root</username>
>     </user>
>   </users>
> 
> 
> but it doesn t work
> Any hints?
> 
> Thanks
> 
> Ralf Prengel
> 

Hi Ralf,


i do not know the "user_defaults" tag, i use "security" for that kind of configuration.
You may take a look here:
 http://www.suse.com/~ug/autoyast_doc/CreateProfile.Security.html

In that section you can specify which type of password encryption you want.
Try to set encrypted to false and specify the password in clear text.
Maybe you expect another encryption algorithm.

The following works for me (SLES8-SP3, SLES10, SLES10SP1):

 <security>
  <encryption>md5</encryption>
  <pass_min_days>1</pass_min_days>
  <pass_min_len>6</pass_min_len>
 <security>

 <users config:type="list">
  <user>
      <encrypted config:type="boolean">false</encrypted>
      <user_password>linux</user_password>
      <username>root</username>
    </user>
 </users>

Since SLES10, the tags above are directly below the profile tag, for SLES8 they were enclosed
into the "confgure" tag.

Regards
Oliver

--
Oliver Schweikert
Software Development

Horiba Europe Automation Division GmbH
Zabergäustr. 3
73765 Neuhausen
Tel:  +49 - (0)7158-933-413
Fax: +49 - (0)7158-933-613
Email: osw@xxxxxxx
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References