Re: Unable to change shell and add groups

2013-12-06 Thread PaulNM
Apologies if some of this seems obvious to you, but figured I'd check anyway. On 12/06/2013 05:16 AM, shawn wilson wrote: > $ chsh -s /bin/zsh ag4ve > Password: > $ grep ag4ve /etc/passwd > ag4ve:x:1008:1008::/home/ag4ve:/bin/zsh Just checking: You did logout then back in at this point, right? If

Re: Unable to change shell and add groups

2013-12-06 Thread Scott Ferguson
On 06/12/13 21:16, shawn wilson wrote: > $ chsh -s /bin/zsh ag4ve > Password: > $ grep ag4ve /etc/passwd > ag4ve:x:1008:1008::/home/ag4ve:/bin/zsh That's as it should be so chsh is working So something associated with your login is setting /bin/bash as your default shell(?). > $ echo $SHEL

Re: Unable to change shell and add groups

2013-12-06 Thread shawn wilson
$ chsh -s /bin/zsh ag4ve Password: $ grep ag4ve /etc/passwd ag4ve:x:1008:1008::/home/ag4ve:/bin/zsh $ echo $SHELL /bin/bash $ readlink /proc/$$/exe /bin/bash $ cat /etc/debian_version 6.0.8 $ grep zsh /etc/shells /bin/zsh /usr/bin/zsh Oh, there is some interresting stuff about /etc/shells - probab

Re: Unable to change shell and add groups

2013-12-06 Thread Scott Ferguson
On 06/12/13 18:31, shawn wilson wrote: > For some reason, when I chsh to say /bin/zsh, log out and back in, I'm > still in bash - confirmed with readlink /proc/$$/exe Which release are you running? For me this works:- # chsh -s /bin/zsh $me (where $me is your username). Check with:- $ echo $SHE

Unable to change shell and add groups

2013-12-05 Thread shawn wilson
For some reason, when I chsh to say /bin/zsh, log out and back in, I'm still in bash - confirmed with readlink /proc/$$/exe I tried adding my user to the adm group, logging out and back in, and it's not there. However, if I exec su -p -l - everything works. I've also tried an init q to no avail.