* 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
* Re: Problem changing root's home directory.
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
1 sibling, 0 replies; 3+ messages in thread
From: Peter Chapin @ 1997-02-18 5:00 UTC (permalink / raw)
Got it.
/usr/sbin/mkpasswd passwd
Sorry to disturb the group.
*****************************************************************************
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
* Re: Problem changing root's home directory.
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
1 sibling, 0 replies; 3+ messages in thread
From: Alexander Kogan @ 1997-02-19 5:00 UTC (permalink / raw)
>
> 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?
>
I've used /usr/bin/X11/dxaccounts tool for that (AS500/266, DU4.0a +
CDE).
Everything works.
_______________________________________________________________________
Alexander B. Kogan Parametric Technology Corporation
E-mail: kogan@ptc.com 128 Technology Drive, Waltham MA 02154
Voice: (617) 398-5172 Fax: (617) 398-5633
^ 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