View Single Post

   
  #4 (permalink)  
Old 02-16-2008, 04:51 AM
Greg Hennessy
 
Posts: n/a
Default Re: Selected User-Shell isn't starting

On 2 Nov 2003 16:19:58 GMT, Falk Husemann <josen@macknolle.de> wrote:


>
>But it doesn't work. I don't know why. Do you?
>


Yes, changing the root shell from its default on any unix is a *really* bad
idea.

If you want to use bash as root, stick the following alias for 'su' into
the profile of your normal user account.

~ $ alias | grep root
alias root='su - root -c "/usr/local/bin/bash --login"'


You'll need to make your normal user a/c a member of 'wheel' to do so.

Create a .bash_profile in ~root for bash specific startup settings.

Its the 1st thing I do on any box I have the root password for.


greg


--
$ReplyAddress =~ s#\@.*$##; # Delete everything after the '@'
The Following is a true story.....
Only the names have been changed to protect the guilty.
Reply With Quote