> Hi all,
> I want to set up some alias as the root user to prevent root from doing a rm
> * and wiping out an entire system. How do I set up an alias of rm="rm -i"
> as the root user. I tried editing the /etc/profile, but no luck?
> Please email me at dmegyesi at truecontext dot com
You won't save your system by tweaking the 'rm' command, you
better spend some resources on restricting who may be root
and educate the ones that will have rootly powers.
Much more security from mishaps can be gained by carefully use
of 'sudo' where admins login as ordinary users and only get
full power during individual commands that really needs power.
IPSec Sverige ( At Gothenburg Riverside )
Sorry about my e-mail address, but i'm trying to keep spam out,
remove "icke-reklam" if you feel for mailing me. Thanx.