From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f53e26a87c158406 X-Google-Attributes: gidfee84,public From: Steve Stoddard Subject: Re: [Q] Root home directory setup Date: 1999/07/15 Message-ID: <378E2762.E635AFA2@midwest.net>#1/1 X-Deja-AN: 501515964 Content-Transfer-Encoding: 7bit References: Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsabuse@remarQ.com X-Trace: 932080269.246.39 JF3D7GB4M2B25D0EBC qube-01.us-ca.remarq.com Organization: Posted via RemarQ, http://www.remarQ.com - The Internet's Discussion Network MIME-Version: 1.0 NNTP-Posting-Date: Thu, 15 Jul 1999 23:11:09 GMT Newsgroups: comp.unix.osf.osf1 Ryurick M. Hristev wrote: > Hello all, > > Please excuse a very dumb question :-) but could somebody tell me > how do I change the root home directory so something more sane than / ? > (there are several reasons for why I don't like it) I created /root, then copied every file and directory (cp -r for files; cp -rp for required account directories) that looked like a necessity for superuser into /root (I guessed which ones and haven't noticed any shell or permission problems). I then edited /etc/passwd to show /root for the superuser account, using the CDE text editor. One problem: I had already initiated Netscape in the old location, and Netscape would not recognize or use the copied /root/.netscape directory in the new location. The solution was to create the link .netscape----->/root/.netscape in /. Netscape now executes normally in the new root account. Steve Stoddard