Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Feb 2004 18:19:34 +0100
From:      Paul Schenkeveld <fb-isp@psconsult.nl>
To:        freebsd-isp@freebsd.org
Subject:   Re: Final conversion questions
Message-ID:  <20040229171934.GA37573@psconsult.nl>
In-Reply-To: <20040229162219.GA24725@wjv.com>
References:  <20040228191105.M42305@scottah.com> <4040F1A8.1070108@buckhorn.net> <20040228211439.M89441@scottah.com> <404189B9.6040801@buckhorn.net> <20040229160038.GA36107@psconsult.nl> <20040229162219.GA24725@wjv.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 29, 2004 at 11:22:19AM -0500, Bill Vermillion wrote:
> Even though on Sun, Feb 29, 2004 at 17:00 Paul Schenkeveld
> realized that everything he says should be taken 'cum grano
> salis', he unhesitatingly continued with this missive:
> 
> > Hi Scott, Bob, All,
> 
> > PLEASE be VERY CAREFULL with the perl script.  The first account
> > in /etc/passwd is root with / as its home directory, so everything
> > will be chown'd to root.  Later they ge chown'd to operator, bin, tty,
> > kmem and so on because all these accounts have / as their home dir.
> 
> And in current FreeBSD and Linux root's home directory is /root.
> This helps prevent the accidental cd before an rm -r * and only
> root's home directory get's nuked and not the system.
> 
> It also keeps / clean with only things that need to be there.
> 
> Just a  HedZup on / vs /root

Sorry about mentioning root (my ancient SysV background playing games
with my mind again), but operator, bin, tty, kmem, news and bind have
/ as their home dir on a standard FreeBSD 4.9 system which makes things
even worse a ultimately every thing that's not owned by a user with
another home coming after the last of this list in /etc/passwd (bind
on my system) becomes owned by this last one crippling most system
services.

> -- 
> Bill Vermillion - bv @ wjv . com

Paul Schenkeveld, Consultant
PSconsult ICT Services BV



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040229171934.GA37573>