Summary : A question about /root

From: Rikard Stemland Skjelsvik <rskjels_at_pogostick.net>
Date: Wed Feb 06 2002 - 08:43:59 EST
Sorry for a late summary.

Thanks to the follwing people:


Mike Peppard, Don Werve, Alan Clegg, Jeff Kennedy, Eduardo Sanchez,
Alan Reichert, Jordi Vidal, Johnie Stafford, Peter Ondruska,
Thomas 'Mike' Michlmayr, Adrian Terranova, thetrick@wizard.net,Gabel
Martin, Davorin Bengez, Dave Mitchell, Padraig Lennon,  Alex J. Avriette
& one system administration account

Question:
What are the implications and advantages to setting the homedirectory to
/root and how is it done?

Answers:

 Howto:
 1.	Create /root and set appropriate accessrights (chmod 0700 /root)
 2.	Edit /etc/passwd to reflect new homedir
 4.	Move some files from / to /root

 Reasons for doing this:
 1.	Avoid cluttering / with administrators private files
 2. 	Other system users liek daemon,sys etc don't share homedir with
	root
 3.	Hide these files from other users
 4.	When users log in and can't access their homedir, they will get
 	homedir set to /.

 Gotchas:
 1.	Make sure /root is on the rootpartition in case of single user
	boot
 2.	Check scripts that may break when moving files from / to /root
 	Check crontabscripts

 Comments:
 This is a BSD practice and not SVR5
 Linux and HPUX does this. Standard on SunOS. Solaris and Tru64 does not.

--
Rikard
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Feb 6 07:45:12 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:33 EST