|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
hi ;
Right now my default shell on our school system is : /bin/ksh but i want to change it to another shell. There is also bash shell installed in the system as : /bin/bash So, how can I change my default shell to bash shell? Or maybe any other shell? |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
the command you want is "chsh", but you might not have the requisite permissions to change it, depending on the system or the local policy.
You could also just change your .profile to execute /bin/bash if chsh doesn't work. |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Once changing your shell with `chsh' ensure you `su' to yourself to see if the changes are successful. Otherwise you mat find yourself locked out.
|
|
#4
|
|||
|
|||
|
i never knew about chsh. i always just edited /etc/passwd
|
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
Quote:
By the way, chsh command is not recognized by my system... |
| Sponsored Links | |
|
|
#6
|
||||
|
||||
|
If you're using solaris passwd -e will change your login shell. Which OS are you using?
Cheers ZB |
| Sponsored Links | |
|
|
#7
|
|||
|
|||
|
Quote:
Code:
Sun Microsystems Inc. SunOS 5.9 Generic May 2002 passwd -e command does not work either, I think passwd command is locked for the users, because it gives a brief message when I type the passwd command on shell. |
| Sponsored Links | ||
|
![]() |
| Tags |
| solaris |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can't change default shell | Grueben | Solaris | 4 | 02-19-2011 06:04 PM |
| How to change Default Shell for any user? | lalit21984 | UNIX for Dummies Questions & Answers | 1 | 03-10-2010 04:15 AM |
| how to change default shell in linux? | princelinux | Shell Programming and Scripting | 8 | 05-07-2009 09:31 AM |
| Change the default shell from bash to ksh | dr46014 | UNIX for Dummies Questions & Answers | 2 | 11-22-2008 07:13 AM |
| Change default shell | npaisnel | Shell Programming and Scripting | 14 | 10-09-2008 07:54 AM |
|
|