Hi,
Could you please verify that your *current* shell in listed in
/etc/shells? If not, could you please add it and try "chsh" once
more?
For historical reasons AFS users at CERN often have shells prepended
with "/usr/local", ie "/usr/local/bin/bash". This is changed on SLC5...
hth, cheers, Jan
suvayu ali wrote:
2010/1/21 Brett Viren <[email protected]>:
suvayu ali <[email protected]> writes:
I have tried all those possibilities, everyone of them give me the
same error! I get the same error even if I provide no arguments. As
far as I understand this, if no arguments are provided chsh is
supposed to prompt me for a shell.
Maybe you are picking up an unexpected chsh program. Does
which chsh
return "/usr/bin/chsh"?
It returns the appropriate path.
$ which chsh
/usr/bin/chsh
$ whereis chsh
chsh: /usr/bin/chsh /usr/share/man/man1/chsh.1.gz
I even tried lchsh with no luck. It is supposed to bypass /etc/shells
$ lchsh username
Password:
Changing shell for username.
Error initializing libuser: not executing with superuser privileges.
-Brett.
Thanks for the reply.