Doug,

Sean Sprague wrote:
Gerard,

How can I make BASH the root's default shell?

This question has come up more times than possibly any other. The answer is invariably (and correctly) "Don't do it!". Root's default shell should _only_ ever be /sbin/sh for many reasons; including system recovery after panic.

This obviously doesn't answer your question, but is the recommended configuration to maintain.

Regards... Sean.

It is perfectly safe to use bash as the root shell in Solaris 10 onwards. Just ignore anybody who say otherwise and use "usermod -s /usr/bin/bash root".

Also if you want root's home directory to be /root just (as root)
   mkdir -p /root
   chmod 700 /root
   usermod -d /root root

And if you want more Linux-feel, install Linux on BrandZ ;-)

Regards... Sean.
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to