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 |
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 ?
write a shell script to find the largest number from 3 given numbers.
how will you find the total disk space used by a specific user?
What is awk in shell script?
What are the different commands available to check the disk usage?
What is sed in shell script?
How will I insert a line "abcdef" at every 100th line of a file?
How to check if a directory exists?
how did u debugging in unix/ linux platform ??( project Related)
Hi, i want to zip the files that generates automatically every few minutes (files generated are in .arc extension)....any body write a script for this... thanks in advance
How will you find the 99th line of a file using only tail and head command?
Write a shell script in Linux to shift all characters in a file forward by five characters. (Thus “a” becomes “f’”).
2 Answers Ignou, Tripura Info,