LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
From: Daniel Callan <dcallan@dataline.net.au>
To : linuxsa@linuxsa.org.au
Date: Thu, 20 May 1999 12:09:11 +1000
Re: Using different Shells
At 11:19 20/05/99 +0930, Jake wrote:
>in the file /etc/passwd:
>bob:6VC0SAXe2q0p.:501:501::/home/bob:/bin/tcsh
> ^^^^^^^^^ this is what you want.
>/bin/bash = bash
>/bin/csh = c shell
>/bin/tcsh = turbo(?) c shell
>
>Michael Ivery wrote:
>> How do you change the shell in use. Currently I am using bash shell
>> and would like to try c shell.
>>
To do this you can run the command:
"usermod -s [SHELL] [USERNAME]"
eg:
"usermod -s /bin/csh someuser"
You don't really want to be editing the /etc/passwd
directly unless it is necessary.
PS: You can also just run the prospective shell on top of
whatever shell you are using.
PPS: If you invent another shell (eg: /bin/auto-ppp, /bin/myshell, etc),
remember to include it in /etc/shells to make it a valid entry
for the passwd file.
Cheers,
-Daniel
Daniel Callan
System Engineer/
Senior Programmer
hostmaster@dataline.net.au
-- DataLine.net.au --
http://dataline.net.au
--
Check out the LinuxSA web pages at http://www.linuxsa.org.au/
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
Return to the LinuxSA Mailing List Information Page