Subject: | |
From: | |
Reply To: | |
Date: | Fri, 22 Jan 2010 09:18:04 +0100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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 <[log in to unmask]>:
>> suvayu ali <[log in to unmask]> 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.
|
|
|