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-09 22:49:33 PST Path: nntp.gmd.de!news.rwth-aachen.de!news.rhrz.uni-bonn.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!xlink.net!howland.reston.ans.net!usenet.ins.cwru.edu!neoucom.edu!news.ysu.edu!yfn.ysu.edu!ag786 From: ag786@yfn.ysu.edu (Barry Bouwsma) Newsgroups: comp.sys.dec,comp.security.unix Subject: Re: Accidental ROOT login! Date: 10 Mar 1995 06:49:33 GMT Organization: St. Elizabeth Hospital, Youngstown, OH Message-ID: <3jospt$mh3@news.ysu.edu> References: <3j7boh$i8f@mordred.cc.jyu.fi> <1995Mar3.154332@fndcd.fnal.gov> Reply-To: Barry.Bouwsma@tuke.sk (Barry Bouwsma) NNTP-Posting-Host: yfn2.ysu.edu Xref: nntp.gmd.de comp.sys.dec:22219 comp.security.unix:13159 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. > >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)