SCIENTIFIC-LINUX-USERS Archives

January 2010

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
suvayu ali <[log in to unmask]>
Reply To:
suvayu ali <[log in to unmask]>
Date:
Thu, 21 Jan 2010 15:35:15 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
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.
-- 
Suvayu

Open source is the future. It sets us free.

ATOM RSS1 RSS2