how do I set 'home' for root

jludwig wralphie at comcast.net
Wed Apr 27 21:47:29 UTC 2005


On Wednesday 27 April 2005 05:34 pm, Paul Howarth wrote:
> On Wed, 2005-04-27 at 17:24 -0400, Erik Hemdal wrote:
> > # .bashrc
> > # User specific aliases and functions
> > alias rm='rm -i'
> >
> > This alias replaces the 'rm' command with 'rm -i', so that root will
> > always be prompted before removing any file.  This is a safety
> > precaution.
>
> But a very unwise safety precaution, especially for a root user. People
> that have this alias get used to it being there, and can end up doing
> something like "rm *" when they want to remove several files, answering
> "y" or "n" to each file. Trouble is, some day they will do this on a
> system that doesn't have the alias set up... and it might be their own
> system if their .bashrc got corrupted. And then they'd delete all their
> files before they realised what had happened. So I would advise strongly
> against using an alias like this.
>
> Paul.
> --
> Paul Howarth <paul at city-fan.org>
It would be wise to also "chattr" important files that won't be changed often.

On rm "y" or "n" , I have hit "y" instead of "n" too many times to count.
-- 
John H Ludwig

Common sense is so rare, why do they call it common!!!

Manual customization of this file is not recommended, 
BUT WILL BE DONE!!!




More information about the fedora-list mailing list