How to change our default shell?
Answers were Sorted based on User's Feedback
Answer / siba sankar nayak
Normally the diffault shell can not be changed by user in
Solaris system. Because chsh command is not available in
Solaris environment. But one can change the default shell
in Linux environment by using following command.
chsh -s /bin/ksh
After issuing this command it will ask for passeord and if
password is given successfully then default shell will be
changed. Here you have to give the full path of shell.
Regards
Siba
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / tony
The real answer may be, to ask whoever has access to ROOT, to set your default Shell to another one. He or she should not do that, at least before asking you : why ?
Additionally, he would still be reluctant of making any changes, because of the impact it can have.
In normal situations, the correct Shell is setup at user setup, and is never changed. Command to do that are USERADD and USERMOD (and other I'm sure).
| Is This Answer Correct ? | 0 Yes | 0 No |
What does $0 mean in shell script?
is this growing field and what is average package in this?
What makes c shell a more preferable option than the bourne shell?
Create a bash shell script that removes all files whose names end with a "~" from your home directory and subdirectories. Name this script "cleanup.sh"
What is bash shell command?
What is the syntax of "expr" command?
How would you print just the 25th line in a file using smallest shell script?
What is batch file programming?
How to print some text on to the screen?
how to get part of string variable with echo command only?
How can I Debug a shell scripts and Perl scripting?? or How do you debug a shell scripting and perl scripting ( at the compile time error or run time error) in Unix environment ?
I have 2 files and I want to print the records which are common to both.