Subject: | |
From: | |
Reply To: | |
Date: | Thu, 21 Jan 2010 09:23:14 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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.
Steven Leikeim
--
Steven Leikeim, GSEC-Gold | We, the willing
Schulich School of Engineering | led by the unknowing
Information Technologies | are doing the impossible
| for the ungrateful.
University of Calgary | We have done so much
Calgary, Alberta | for so long with so little
| we are now qualified
Phone: (403) 220-5373 Fax: (403) 282-6855 | to do anything with nothing.
|
|
|