Re: bash login for root
I use sudo, logged in as a regular user. It's generally considered a
security risk to be logged in as root, and a bit less of a risk to use
sudo or fakeroot.
Funny, but 'sudo echo $PATH' gives the $PATH of the user, but 'sudo
whoami' says root. sudo does access the binaries in /usr/sbin, which
are not in the user's $PATH.
Bob
On Wed, Sep 13, 2000 at 08:07:46PM -0700, Krzys Majewski wrote:
> Bob Nielsen <nielsen@oz.net> writes:
>
> > I don't log in as root very often, but never had any problems having a
> > .bash_profile in /root.
>
> OK sounds like you're telling us something here. You're on the list,
> so obviously you tweak your debian box from time to time. But you
> don't log in as root very often. How do you do it?? I'm logged in to
> xdm as me but I've got a root xterm going about half the time..
> -chris
>
--
Bob Nielsen, N7XY nielsen@oz.net
Bainbridge Island, WA http://www.oz.net/~nielsen
Reply to: