[rescue] root home directory under solaris-2.6

Dave McGuire mcguire at neurotica.com
Mon Jan 21 11:31:01 CST 2002


On January 21, Bill Bradford 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.

  Ahh, so it *doesn't* break Solaris2.  Good news.  It screws up
SunOS4 spectacularly. :)

    -Dave

-- 
Dave McGuire
St. Petersburg, FL         "Less talk.  More synthohol." --Lt. Worf



More information about the rescue mailing list