danger@ said:when your system breaks (e.g. /usr/ won't be available), you will not be able to log in...
Actually, in Single User Mode you are prompted to enter the path to a valid shell, so you can always type /bin/sh there...
danger@ said:when your system breaks (e.g. /usr/ won't be available), you will not be able to log in...
Ishildur said:Hello
I've been trying to change the rootshell by adjusting the file /etc/passwd as following:
gordon@ said:I want to chime in here. Changing root's shell is a bad idea. Plain and simple. Let's say it again.
Changing root's shell is a bad idea.
If it really really annoys you to have to use csh versus sh, just do an exec /path/to/preferred/shell as your first command when you login as root.
phoenix_rizzen said:Better yet, don't login as root. Use sudo.
Use su - -c /path/to/shell if you really must login as root and use a different shell.
Or, configure/enable the toor user. That's what it's there for (a second "root"/UID 0 account with a different shell).
It's the only thing seperating us from the catma?Mel_Flynn said:Less dogma please.
lvl5 Cellar Troll (6d3 +10 gas damage per round) said:"It's not my fault, I did not change root's shell!"
MG said:Strange, in /etc/passwd they call him the "Bourne again Superuser".
No idea what this has to do with bash or it's creator.
No, it allows us to create informed decisions. The reason I change root shell is that I know more about the ksh and bash shell then the csh shell and that makes me more productive in the cases I need to log in and root and fix problems.fronclynne said:It's the only thing seperating us from the catma?
Mel_Flynn said:... since no one gives any real answer as to why root's shell should be unchanged, these changes might as well cause the breakage of the mystical system that requires root's shell to be csh.