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:
Steven Leikeim <[log in to unmask]>
Reply To:
Steven Leikeim <[log in to unmask]>
Date:
Thu, 21 Jan 2010 09:23:14 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
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.

ATOM RSS1 RSS2