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 a batch file used for?
If one dont know how to create a script then how he/she can use the QTP?
write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?
What are the two files of crontab command?
c program which accept one argument as a directory name and prints all the file name along with its inode number and total count of the file in directory
The information of the two files should be redirect to Third file in such a way that, the third file contain the information like this. 1st line in third file should be from 1st file 2nd line in Third file should be from 2nd file 3rd line in Third file should be from 1st file 4th line in Third file should be from 2nd file - - so on
What are scripts in psychology?
What lives in a shell?
There are three departments A,B and C.Write a query to display the names of all the persons( in departments other than A) who are paid higher than the person receiving the lowest salary in DEPT A
What is the basic difference you find between a shell script and perl?
In a single command how do you run the previous command in the command prompt.
What is @echo off?