3 ms·
Just don't change root's shell to something like bash. BAD THINGS WILL HAPPEN.
by kchoudhu 12y ago
Just don't change root's shell to something like bash. BAD THINGS WILL HAPPEN.
- wtracy 12y agoCare to elaborate? Does FreeBSD make assumptions about the root user's shell that Linux doesn't?
- chrismsnz 12y agoYes, root's shell should be one provided by the distribution's base install. I think the biggest worry is that if you need to do something like boot into single user mode for an emergency recovery, and /usr or /usr/local (with root's shell in it) is on a different or unmountable partition then you will not be able to do anything.
- kchoudhu 12y agoSay there's a failure that forces you to bail into an emergency session where you can't mount /usr/local (which is where bash is typically installed on FreeBSD). All of a sudden, you don't have a shell. This is a really bad place to be.