Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Peter Chapin <pchapin@twilight.vtc.vsc.edu>
Subject: Problem changing root's home directory.
Date: 1997/02/18	[thread overview]
Message-ID: <Pine.OSF.3.95.970218104723.29909A-100000@twilight.vtc.vsc.edu> (raw)



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




             reply	other threads:[~1997-02-18  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-18  5:00 Peter Chapin [this message]
1997-02-18  5:00 ` Problem changing root's home directory Peter Chapin
1997-02-19  5:00 ` Alexander Kogan
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox