[opensuse-autoinstall] How to assign *root* shell (= /bin/tcsh) in AutoYast-profile?
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 -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
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@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Hi, On Tue, Jul 22, 2008 at 2:38 AM, Björn Lotz <blotz@suse.de> wrote:
my idea would be to have <shell>/bin/tcsh</shell> within the <user>...</user> section for root.
That solved the problem -- simple enough. After install, tcsh is root shell as expected. Thanks! It seems that the Autoinstaller app misses/ignores the specific root-user setting in script generation. Wil -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
How can I make sure the AutoYast-installed system correctly assigns root-shell to /bin/tcsh?
tcsh? Do you just *enjoy* pain? :-) Mike Diehn Sr. SysAdmin mike.diehn@ansys.com -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (3)
-
Björn Lotz
-
Mike Diehn
-
Wil Decius