[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash login for root



I'll have to think a bit before I say it's really bad.  I think it's not
a *good* idea, and I almost certainly wouldn't do that.

Immediate problems:

   - If you've created seperate partitions for / and /home, you won't
     have a root home directory when mounting just the root partition.
     This could be somewhat problematic.

   - root and normal users typically don't have the same needs for
     configurations -- your root .bashrc and path should typically
     differ from your standard user account.

   - user accounts are more likely to accumulate cruft which could be
     annoying, or harmful, used by root.  Or simply annoying when root
     changes permissions and/or ownership.
     
   - /root is "owned" by the distribution, IIRC.  $HOME for a
     nonprivileged user is not.

I'd split the home directories.

On Wed, Sep 13, 2000 at 08:52:20PM -0700, Krzys Majewski (krzys@cs.mcgill.ca) wrote:
> My /root/  is a symlink to  /home/krzys. Since it's been  this way for
> about a hundred  years, I figure it's about time  to ask the question:
> is it a really bad idea? -chris
> 
> Nate Bargmann <n0nb@networksplus.net> writes:
> 
> > On Wed, Sep 13, 2000 at 12:13:59AM +0100, Bruce Richardson wrote:
> > > Debian doesn't put .bash_profile in for root.  I want to put one in to
> > > extend root's path.  Putting my own .bash_profile means putting in the
> > > path in full, since bash doesn't do roots path if there's a
> > > bash_profile.  Is there anything else that would be missed out if I were
> > > to put in a .bash_profile?
> > 
> > Try /root/.profile instead.  For some reason Bash looks for it in the
> > /root directory.
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 

-- 
Karsten M. Self <kmself@ix.netcom.com>     http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.                    http://www.opensales.org
  What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/    K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0

Attachment: pgp8QXLrh0Qgd.pgp
Description: PGP signature


Reply to: