| Type: |
Code 
|
| Level: |
Beginner
|
| Date: |
2007-Nov-05
|
| Visited: |
1213 times
|
| Rating: |

|
| Author: |
Stephen Think |
|
|
This tutorial will help you change the default shell for your user.
Generally you can edit that in /et/passwd but sometimes this doesn't work.
In UNIX you have a handy console tool called chsh. You execute that from the command line and it will open your user profile in the default editor for the system.
You will see something like this:
#Changing user information for user.
Login: user
Password: xxxxxxxxxxxxxxxxxxxxxxxxx
Uid [#]: N
Gid [# or name]: NN
Change [month day year]:
Expire [month day year]:
Class:
Home directory: /home/user
Shell: /usr/local/bin/bash
Full Name: Charlie &
Office Location:
Office Phone:
Home Phone:
Other information:
You simply need to specify the path of the new shell on the Shell: line.
Save the changes, logout and log back in. You are done.