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 is the need of including script interpreter in your shell script?
How to use arguments in a script?
how to print the 2-d, 3-d arrays in unix shell script programs please answer thi questio to my mail venusaikumar@gmail.com
Is shell a scripting language?
Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.
There is a record with fields namely name,roll no.,salary,grade etc.Now,write a script to create a file with multiple records have same combination of fields but with unique roll numbers.The script should work for different names in the input file.
What is in a script?
What are the default permissions of a file when it is created?
What is echo $shell?
How do you find out What is your shell?
write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?
Create a bash shell script that reads a line from the user consisting of 5 words and then prints them out in reverse order. Name this script "reverse.sh"