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 |
How do you read arguments in a shell program - $1, $2 ..?
What is the significance of the shebang line in shell scripting?
Set up a Sev 2 alert when the Primary WA service fails. A windows batch script needs to be created that will monitor the WA service on the Primary and when the service stops/fails a Sev 2 TT is generated for a particular team ?
what are special characters and explain how does text varies by the usage of single quotes,double quotes and back quotes?
If one dont know how to create a script then how he/she can use the QTP?
What is the command to find out today's date?
What are the advantages of using shell scripts?
What is the use of "$?" Sign in shell script?
What does .sh file contain?
How to find all the files modified in less than 3 days and save the record in a text file?
what do u mean by $#,$* in unix programming?
What does debug script mean?