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 03:57:52 PST Path: nntp.gmd.de!news.rwth-aachen.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!uni-duisburg.de!zib-berlin.de!news.mathworks.com!udel!gatech!howland.reston.ans.net!news.moneng.mei.com!uwm.edu!msunews!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!seagoon.newcastle.edu.au!sah From: sah@maths.newcastle.edu.au (Scott Howard) Newsgroups: comp.sys.dec,comp.security.unix Subject: Re: Accidental ROOT login! Followup-To: comp.sys.dec,comp.security.unix Date: 10 Mar 1995 05:34:36 GMT Organization: The University of Newcastle Distribution: inet Message-ID: <3joodc$ca2@seagoon.newcastle.edu.au> References: <3j7boh$i8f@mordred.cc.jyu.fi> <1995Mar3.154332@fndcd.fnal.gov> NNTP-Posting-Host: frey.newcastle.edu.au X-Newsreader: TIN [version 1.2 PL2] Xref: nntp.gmd.de comp.sys.dec:22176 comp.security.unix:13085 Stephen Wray (stevew@news.comp.vuw.ac.nz) wrote: : > > 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. No, as whoever it was said above, you can NOT delete your own home directory unless your permissions are screwy. To delete, say, /home/scott and below, you would not only need permissions to everything below this (or to be the owner), but you would also need write access to the /home directory. Scott.