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 11:10:53 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
Hi Fernando and Steven,

2010/1/21 Steven Leikeim <[log in to unmask]>:
> On Wed, Jan 20, 2010 at 11:11:00PM -0800, suvayu ali wrote:
>> Hi everyone,
>>
>> I want to change my login shell on a SL 4.8 machine I don't have root
>> access to (atcanpc, its only accessible from lxplus). I have tried
>> `chsh -s `which bash`'. But that returns me the following error: chsh:
>> Your shell is not in /etc/shells, shell change denied. However when I
>> do `chsh -l' I see /bin/bash in it.
>>
>> Is there any solution to this? Thanks for any pointers.
>
> Suvanyu,
>
> My guess is that "which bash" is NOT returning /bin/bash. The command
>
>        chsh -s /bin/bash
>
> will do what you want.

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.

Either the settings on the machine is bungled up or there is a major
bug. I think its the first. I have found the contact information for
the admin on the machine, and will try contacting him. I will keep the
list updated with what I find.

-- 
Suvayu

Open source is the future. It sets us free.

ATOM RSS1 RSS2