From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10952f,417a102b63b1c275 X-Google-Attributes: gid10952f,public X-Google-Thread: 1164f8,417a102b63b1c275 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1995-03-23 03:48:38 PST Path: nntp.gmd.de!dearn!blekul11!ccsdec1.ufsia.ac.be!reks.uia.ac.be!idefix.CS.kuleuven.ac.be! Belgium.EU.net!EU.net!howland.reston.ans.net!swrinde!gatech!darwin.sura.net!wvnvms!marshall.wvnet.edu!marshall.edu!bailey9 Newsgroups: comp.sys.dec,comp.security.unix Subject: Re: Accidental ROOT login! Message-ID: <1995Mar22.093502@hobbit> From: bailey9@marshall.edu (Raymond A. Bailey) Date: 22 Mar 95 09:35:02 EDT References: <3j7boh$i8f@mordred.cc.jyu.fi> <1995Mar3.154332@fndcd.fnal.gov> <3jospt$mh3@news.ysu.edu> Organization: Marshall University Nntp-Posting-Host: frodo.marshall.edu Xref: nntp.gmd.de comp.sys.dec:22529 comp.security.unix:13672 In article <3jospt$mh3@news.ysu.edu>, ag786@yfn.ysu.edu (Barry Bouwsma) writes: > > In a previous article, stevew@news.comp.vuw.ac.nz (Stephen Wray) says: > >>[...] if a crooked >>lab user had noticed so-and-so leaving their terminal logged in, all they >>need do is issue the 'rm -rf ~user' command; no need to type extra cd's or >>home's or whatever. >> >>Mind you, a simple 'rm -rf ~' would do just as well. >> maybe alias rm -rf ~whoever_i_am='logout' :) >>I alias 'rm' to 'rm -i' but this still wouldn't work if the crooked, >>twisted, evil one used the '-f' switch :-( > > I have 'rm' also aliased to 'rm -i', yet I am still prompted for > whether I want to delete every file when I type 'rm -rf ~'. > > To avoid embarrassing and time-consuming situations like this, I've > learned to use '/bin/rm' whenever I want to wipe out my home > directory. > > And of course, I've learned to incorporate this into my aliases: > # alias mroe '/bin/rm -rf ~' > > -- > Barry Bouwsma, will crash computers for chocolate and dental care > Please direct mail to (MIME-aware) > > -- R. Andrew Bailey Computer Guy ------------------------------------------------------------------------------ "Every group has a couple of experts. And every group has at least one idiot. Thus are balance and harmony (and discord) maintained. It's sometimes hard to remember this in the bulk of the flamewars that all of the hassle and pain is generally caused by one or two highly-motivated, caustic twits." -- Chuq Von Rospach, about Usenet