From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,115e3f9ff969ac7e,start X-Google-Attributes: gidfee84,public From: Peter Chapin Subject: Problem changing root's home directory. Date: 1997/02/18 Message-ID: #1/1 X-Deja-AN: 219841773 Organization: None Content-Type: TEXT/PLAIN; charset=US-ASCII Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 By default root's home directory was / on my system. I don't particularly like that. I don't like cluttering up the root directory with root's "personal" files. So I made a directory /root and modified the home directory field in /etc/passwd using a text editor to reflect my desires. However, it doesn't appear to work. In particular, when I issue the "su -" command to get a root shell the value of $HOME is still /. Furthermore when I log in "normally" as root the system is clearly still using / as root's home directory. I'm am not using any enhanced security, but I am using the hashed password database (I have /etc/passwd.dir and /etc/passwd.pag files). Do I have to do something special for my "manual" change to /etc/passwd to get noticed? Is root's home directory set to / regardless of the setting in /etc/passwd for some security reason? ***************************************************************************** Peter http://twilight.vtc.vsc.edu/~pchapin pchapin@twilight.vtc.vsc.edu Paganism: Ancient beliefs in a modern world