Final conversion questions
Paul Schenkeveld
fb-isp at psconsult.nl
Sun Feb 29 09:19:37 PST 2004
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
More information about the freebsd-isp
mailing list