[rescue] root home directory under solaris-2.6

Dave McGuire mcguire at neurotica.com
Mon Jan 21 11:25:55 CST 2002


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

  Umm, that's probably for a good reason.  I recall from WAY back
when, the fastest way to break SunOS4 is to change root's home
directory.  Some of those fuckages probably carried forward into
Solaris2.  I don't remember the specifics though...except for all the
"r" commands blowing up, and krb4 no longer working...Oh, and I think,
something to do with cron...

  I'd leave it the way it is.  Do you really do an "ls -a /" all that
often? ;)

     -Dave

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



More information about the rescue mailing list