[rescue] root home directory under solaris-2.6

Bill Bradford mrbill at mrbill.net
Mon Jan 21 11:22:25 CST 2002


On Mon, Jan 21, 2002 at 12:17:42PM -0500, Nathaniel Grady wrote:
> Does anyone know if there is a way to get Sol-2.6 to allow root's home directory to be other than / ? Having all of root's .files in / buggs me a bit and I would much perfer to have root's home directory be /root. I 'spose I could modify /etc/profile so that if $USER=root then set HOME=/root but I assume there is a beter way? vipw just has a fit about root's home-dir != / when i try and change it...

Then just use normal "vi" and make sure nobody else is editing the password
file at the same time. 8-)  root's homedir is /root (not /) on all of my
boxes.

Bill

-- 
Bill Bradford
mrbill at mrbill.net
Austin, TX



More information about the rescue mailing list