* Problem changing root's home directory.
@ 1997-02-18 5:00 Peter Chapin
1997-02-18 5:00 ` Peter Chapin
1997-02-19 5:00 ` Alexander Kogan
0 siblings, 2 replies; 3+ messages in thread
From: Peter Chapin @ 1997-02-18 5:00 UTC (permalink / 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-02-19 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-02-18 5:00 Problem changing root's home directory Peter Chapin
1997-02-18 5:00 ` Peter Chapin
1997-02-19 5:00 ` Alexander Kogan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox