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-10 12:27:45 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!swrinde!elroy.jpl.nasa.gov!decwrl!waikato!comp.vuw.ac.nz!news.comp.vuw.ac.nz!stevew From: stevew@news.comp.vuw.ac.nz (Stephen Wray) Newsgroups: comp.sys.dec,comp.security.unix Subject: Re: Accidental ROOT login! Date: 09 Mar 1995 22:41:53 GMT Organization: VUW Cabal of the Uncomputable Distribution: inet Message-ID: References: <3j7boh$i8f@mordred.cc.jyu.fi> <1995Mar3.154332@fndcd.fnal.gov> <3jfqq8$p13@mother.usf.edu> <3ji8gg$fur@uwm.edu> <3jl9io$59f@hermes.unt.edu> NNTP-Posting-Host: kauri.vuw.ac.nz In-reply-to: jackson@replicant.csci.unt.edu's message of 8 Mar 1995 22:03:04 GMT Xref: bga.com comp.sys.dec:9828 comp.security.unix:11545 > > Also, that student could have left without logging out (in a public > > lab) and someone could have done that (rm -rf ~user). > > Actually they can't! To remove a file or directory you need to have > write permission to the file or directory's parent directory. I don't think that is what Bruce meant to suggest -- rather, 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 :-( --- **********************T***H***E***L***E***M***A********************** 44. For pure will, unassuaged of purpose, delivered from the lust of result, is every way perfect. -- LIBER AL vel LEGIS ******************************IN*LVX********************************* Stephen Wray