Mailinglist Archive: opensuse-ppc (126 mails)
| < Previous | Next > |
Re: How do I switch from bash to tcsh
- From: Steve Sivier <ssivier1@xxxxxxxx>
- Date: Sun, 4 Feb 2001 14:09:03 -0800
- Message-id: <l03130301b6a382542885@[192.168.123.141]>
At 10:34 PM +0100 2/4/01, Olaf Hering wrote:
>On Sun, Feb 04, Steve Sivier wrote:
>
>> >Call `usermod` in a root shell.
>>
>> Unfortunately, that does nothing (or, at least, nothing more than yast or
>> chsh already did). My shell environment variable is set to /bin/tcsh and I
>> have /bin/tcsh listed in the passwd file, but SuSE linux apparently has
>> bash hardwired somewhere. Does someone know where that is (and why it was
>> done that way)?
>
>I just added an user:
>useradd -s /bin/tcsh -m blah ; passwd blah
>
>Shell is tcsh and login gives me a tcsh. Works in 7.0 and 7.1.
>Is tcsh.rpm really installed (it should)?
Hmmm. tcsh-6.09.00-128 is installed (I installed "almost everything" so it
certainly should have been installed). I userdel'ed my account and then
tried useradding it as you have above and still could only get bash shell
(despite what my shell environment variable says). Maybe once an account is
set up as bash, it's always going to be bash. I'm going to re-install SuSE
and NOT set up my account at install time. Maybe if the first time I add an
account I use useradd and specify the correct shell, linux will actually
allow me to use the shell.
Steve
>On Sun, Feb 04, Steve Sivier wrote:
>
>> >Call `usermod` in a root shell.
>>
>> Unfortunately, that does nothing (or, at least, nothing more than yast or
>> chsh already did). My shell environment variable is set to /bin/tcsh and I
>> have /bin/tcsh listed in the passwd file, but SuSE linux apparently has
>> bash hardwired somewhere. Does someone know where that is (and why it was
>> done that way)?
>
>I just added an user:
>useradd -s /bin/tcsh -m blah ; passwd blah
>
>Shell is tcsh and login gives me a tcsh. Works in 7.0 and 7.1.
>Is tcsh.rpm really installed (it should)?
Hmmm. tcsh-6.09.00-128 is installed (I installed "almost everything" so it
certainly should have been installed). I userdel'ed my account and then
tried useradding it as you have above and still could only get bash shell
(despite what my shell environment variable says). Maybe once an account is
set up as bash, it's always going to be bash. I'm going to re-install SuSE
and NOT set up my account at install time. Maybe if the first time I add an
account I use useradd and specify the correct shell, linux will actually
allow me to use the shell.
Steve
| < Previous | Next > |