su or sudo su?

Patrick O'Callaghan pocallaghan at gmail.com
Tue Oct 19 03:08:04 UTC 2010


On Mon, 2010-10-18 at 18:20 -0400, Tom H wrote:
> > Also root's home directory should NEVER be / (root) but rather
> something like /home/root.
> > I've known of several folks who 'forgot' they were root or had
> either sudo'd or su -'d and
> > then issued the famous (or infamous) rm -rf * wiping out the system
> or at least destroying
> > critical files.
> 
> I must've missed the email where someone said that "~root" is "/" but
> it isn't the Fedora default, older Solaris versions maybe.

Back in the mists of time when men were men and dinosaurs roamed the
Earth, the home directory for "root" was indeed "/", but of course I'm
talking about Unix, not Linux.

poc



More information about the users mailing list