Gnome desktop doesn't changing user shell

General support questions
Post Reply
bodisha
Posts: 54
Joined: 2015/06/06 23:55:29

Gnome desktop doesn't changing user shell

Post by bodisha » 2017/11/17 16:14:04

Hello and thanks in advance for any help anyone can offer

I'm experiencing a weird issue I can't explain

When I go to change a user ID shell from bash to csh/tcsh... It seems to be successful and I can see /bin/csh is set for them in the /etc/passwd. The new csh/tcsh shell runs fine for the user ID when the account is logged on from a putty terminal. When I login to the Gnome desktop as the user ID, and open a terminal though, the shell stays bash. When I issue a "ctl+alt+f2" to open a new terminal window, and then login it works and the $SHELL is /bin/csh again.

I'm at a loss to explain why the Gnome GUI wouldn't see this change... Can anyone offer any ideas?

Thanks!

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Gnome desktop doesn't changing user shell

Post by TrevorH » 2017/11/17 16:35:46

Clutching at straws but did you restart gnome/gdm since the change?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

bodisha
Posts: 54
Joined: 2015/06/06 23:55:29

Re: Gnome desktop doesn't changing user shell

Post by bodisha » 2017/11/17 17:36:53

Logged out... and even rebooted the machine. I found another post on a different forum where someone was experiencing the exact same issue... but no one offered an explanation or resolution.

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: Gnome desktop doesn't changing user shell

Post by tunk » 2017/11/17 19:36:33

Does it only run bash, or does it run on top of csh? I.e. does ps only show bash, or both.
What happens if you run su - "username" in a terminal?
Maybe gnome starts the terminal with some options, i.e. to start it with bash?

Post Reply