From owner-freebsd-questions Tue Mar 4 23:53:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA29126 for questions-outgoing; Tue, 4 Mar 1997 23:53:03 -0800 (PST) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA29120 for ; Tue, 4 Mar 1997 23:52:56 -0800 (PST) Received: (from smap@localhost) by gatekeeper.barcode.co.il (8.7.5/8.6.12) id JAA25958; Wed, 5 Mar 1997 09:53:05 +0200 (IST) X-Authentication-Warning: gatekeeper.barcode.co.il: smap set sender to using -f Received: from localhost.barcode.co.il(127.0.0.1) by gatekeeper.barcode.co.il via smap (V1.3) id sma025956; Wed Mar 5 09:52:42 1997 Message-ID: <331D2609.65A5@barcode.co.il> Date: Wed, 05 Mar 1997 09:51:37 +0200 From: Nadav Eiron X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4m) MIME-Version: 1.0 To: Michael Alwan CC: questions@freebsd.org Subject: Re: disk usage reporting References: <331BBB00.41C67EA6@rma.edu> <3.0.1.32.19970304130236.00690c6c@rma.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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