Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Mar 1997 09:51:37 +0200
From:      Nadav Eiron <nadav@barcode.co.il>
To:        Michael Alwan <alwan@rma.edu>
Cc:        questions@freebsd.org
Subject:   Re: disk usage reporting
Message-ID:  <331D2609.65A5@barcode.co.il>
References:  <331BBB00.41C67EA6@rma.edu> <3.0.1.32.19970304130236.00690c6c@rma.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Alwan wrote:
> 
    [snip]
> 
> My apologies for the confusing shorthand.  "Etc" just meant more output I
> didn't think was related to my question.  These are my actual file systems:
> 
>                 1-k blocks      used            avail           capacity        mounted on
> /dev/wd0a       31775           29903           -603            102%            /
> /dev/wd0s4f     371087          126120          215281          37%             /usr
> /dev/wd0s4e     29727           14061           13288           51%             /var
> procfs          4               4               0               100%            /proc
> 
   [snip]
> 
> So, installing Netscape Communicator, xfmail, and all those other goodies
> while running as root has dumped their caches and so on in the root ( / )
> filesystem--correct?  Besides getting these caches out of root, what other
> kinds of cleanup should I do?  I can change the cache locations from
> Netscape, and prefer not to have to reinstall everything if that is
> realistic.  But I get the impression that installing so many things as root
> may have totally screwed up my file systems in ways I don't yet understand.

Installing things while running as root is O.K. For most software, this
is the only way to install. *Using* that software while running as root
is the problem. I haven't used Netscape Communicator, but Netscape
2.0/3.0 had the cache under the user's home directory. root's home is on
the root file system, other users have their home on /usr by default.

> 
> I assume the correct thing to do is create at least one user and user group
> like the setup program suggested.  I had some problems with this
> before--specifically, creating a user that had permission to su to root so
> I could work on configuration files.  I tried to create a user in the group
> wheel and was told wheel was not a valid group assignment.  Could you give
> me a couple pointers to keep me from destroying my system until I finish
> RTFM? :)

USe adduser to create a user in its own group (not wheel). Then, edit
the file /etc/groups and add that user's name on the line for the wheel
group. Then, cleanup root's home moving whatever is applicable to your
new user's home directory.

> 
> Thanks,
> 
> Michael
Nadav



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?331D2609.65A5>