Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: sah@maths.newcastle.edu.au (Scott Howard)
Subject: Re: Accidental ROOT login!
Date: 10 Mar 1995 05:34:36 GMT	[thread overview]
Message-ID: <3joodc$ca2@seagoon.newcastle.edu.au> (raw)
In-Reply-To: STEVEW.95Mar10114153@kauri.vuw.ac.nz

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.


  reply	other threads:[~1995-03-10  5:34 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-03-03 15:14 Accidental ROOT login! Marty.!
1995-03-03 20:41 ` Benard Aart Mesander
1995-03-03 21:43 ` levy
1995-03-04  4:44   ` Tracy R. Reed
1995-03-06 12:28     ` Alex Le Heux
1995-03-06 16:57     ` levy
1995-03-07  4:35       ` John Blackburn
1995-03-07 13:54         ` Paul Repacholi
1995-03-08 23:29           ` John Blackburn
1995-03-07 22:59         ` Brian A. Bucher
1995-03-09 10:11         ` Turloch O'Tierney
1995-03-06 20:20   ` Jonathan Adair
1995-03-07 18:26     ` Murthy Nyayapati
1995-03-08 22:03       ` Bruce Jackson
1995-03-09 22:41         ` Stephen Wray
1995-03-10  5:34           ` Scott Howard [this message]
1995-03-07  9:42   ` Ade Barkah
1995-03-07 19:07     ` levy
1995-03-07 19:29       ` Gregory Lafitte
1995-03-07 19:56         ` Peter R Cook
1995-03-07 19:31       ` Peter R Cook
1995-03-07 23:35         ` William Herrin
1995-03-08 13:25           ` Peter R Cook
1995-03-08  6:25         ` Kristian Köhntopp
1995-03-08 12:22         ` Paul Ferguson
1995-03-08 16:41       ` Cornelius Keck
1995-03-08 22:21         ` levy
1995-03-09  0:05           ` Ed Thomson
1995-03-10  8:11             ` Kevin A. Smith
1995-03-22 17:33             ` Alan Cox
1995-03-09 17:28           ` Dan Pop
1995-03-10  1:44           ` Cornelius Keck
1995-03-11  8:19           ` Ade Barkah
1995-03-12  2:04             ` Paul Ferguson
1995-03-29  5:00           ` Mark Gorka
1995-03-14  8:57       ` Chad McDonald
1995-03-16  8:07         ` Mark Hiro  Norman
1995-03-10  6:49   ` Barry Bouwsma
1995-03-22 13:35     ` Raymond A. Bailey
1995-03-03 21:52 ` Peter Mardahl
1995-03-04  2:46 ` Tom Holub
1995-03-04  3:28 ` Mike Iglesias
1995-03-08  0:29 ` a rich
     [not found] ` <3jj935$rad@holodeck.iss.nus.sg>
1995-03-10 22:14   ` Scott Gasch
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox