Mailinglist Archive: opensuse-autoinstall (52 mails)

< Previous Next >
Re: [opensuse-autoinstall] How to assign *root* shell (= /bin/tcsh) in AutoYast-profile?
  • From: Björn Lotz <blotz@xxxxxxx>
  • Date: Tue, 22 Jul 2008 11:38:26 +0200
  • Message-id: <200807221138.26731.blotz@xxxxxxx>
Hi,

my idea would be to have
<shell>/bin/tcsh</shell>
within the <user>...</user> section for root.

At least that is were I found a shell entry in a profile I have for another
system (SLES10). However it is for /bin/bash, so I can't say whether root has
this shell because of this entry or because of the default.

Still I would consider it worth a try.

Kind regards,

Björn

Am Dienstag 22 Juli 2008 schrieb Wil Decius:
I've created an Opensuse11 AutoYast profile.

I've assigned the "root" user's shell to "/bin/tcsh".

The generated AutoYast source is:

<users config:type="list">
<user>
<username>root</username>
<encrypted config:type="boolean">true</encrypted>
<password_settings>
<inact>-1</inact>
<max>-1</max>
<min>-1</min>
<warn>-1</warn>
</password_settings>
<user_password>$2a...$O</user_password>
</user>
</users>
<user_defaults>
<expire></expire>
<group>25</group>
<groups>video,dialout</groups>
<home>/home</home>
<inactive>-1</inactive>
<shell>/bin/tcsh</shell>
<skel>/etc/skel</skel>
</user_defaults>

The AutoYast install works, and I can boot from the resulting system.

But, "root" comes up in /bin/bash shell. I can easily "chsh -s
/bin/tcsh" @ shell; next reboot all's OK.

How can I make sure the AutoYast-installed system correctly assigns
root-shell to /bin/tcsh?

Wil



--
Dr. Björn Lotz, Instructional Designer
Novell Training Services
Novell GmbH, Willy-Brandt-Allee 2, 81829 München
Tel: 089/206002000 Fax: 089/206002100
------------------
Novell GmbH, Düsseldorf; GF: Volker Smid, Djamel Souici
HRB 21108 (AG Düsseldorf)
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References