Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BASH as default shell 2

Status
Not open for further replies.

sirrom

Technical User
Jul 11, 2001
80
GB
How do I make BASH my default shell when logging in?
Also how can I tell which type of shell I am in?
I use SOLARIS 5.7
 
To find out which shell you're using, you can use echo $SHELL or finger username where username is your login name.

A system administrator (root) can change your default shell using usermod -s /path/to/bash username

Don't change the root shell though as it can cause problems!

Greg.
 
To find your shell type:

echo $SHELL at the command prompt. To change to the bash shell you will need to modify the entry in /etc/passwd to point to where your bash shell is installed. It would be as well to do this using usermod (see the man page, but usermod -s [pathtoshell] [loginname] should work) or admintool.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top