Hi, I've just installed SuSE PPC 7.0 and everything seems to be working ok. However, creating a user seems to default to using the bash shell. I'm sure it's nice, but I prefer tcsh. Changing the shell under yast seems to indicate that tcsh is now the one being used, however, .cshrc isn't being executed and typical tcsh commands (like setenv) aren't recognized -> the error message seems to indicate that bash is still the current shell. I get the same results using chsh. Why can't I change to using tcsh? Thanks, Steve
On Sat, Feb 03, Steve Sivier wrote:
I've just installed SuSE PPC 7.0 and everything seems to be working ok. However, creating a user seems to default to using the bash shell. I'm sure it's nice, but I prefer tcsh. Changing the shell under yast seems to indicate that tcsh is now the one being used, however, .cshrc isn't being executed and typical tcsh commands (like setenv) aren't recognized -> the error message seems to indicate that bash is still the current shell. I get the same results using chsh. Why can't I change to using tcsh?
Call `usermod` in a root shell. Gruss Olaf -- $ man clone BUGS Main feature not yet implemented...
At 2:35 PM +0100 2/4/01, Olaf Hering wrote:
On Sat, Feb 03, Steve Sivier wrote:
I've just installed SuSE PPC 7.0 and everything seems to be working ok. However, creating a user seems to default to using the bash shell. I'm sure it's nice, but I prefer tcsh. Changing the shell under yast seems to indicate that tcsh is now the one being used, however, .cshrc isn't being executed and typical tcsh commands (like setenv) aren't recognized -> the error message seems to indicate that bash is still the current shell. I get the same results using chsh. Why can't I change to using tcsh?
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)? 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)? Gruss Olaf -- $ man clone BUGS Main feature not yet implemented...
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:
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.
Strange, possible that this "almost everything" is the culprit. If /etc/passwd contains /bin/tcsh as shell, one of the startup/login scripts is wrong. Try to follow the /etc/profile file, it reads some stuff in /etc/SuSEconfig/*, also check your ~/.* files, like .login, .profile etc. Try it with a test user as suggested in the previous mail, reinstall is not neccessary, rpm -e foo will do the trick. You have to find "foo" Gruss Olaf -- $ man clone BUGS Main feature not yet implemented...
participants (2)
-
Olaf Hering
-
Steve Sivier