[100019] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: what's this supposed to be???

daemon@ATHENA.MIT.EDU (Thomas Ribbrock \(Design/DEG\))
Wed Nov 18 06:12:54 1998

Date: Wed, 18 Nov 1998 11:13:44 +0000
From: "Thomas Ribbrock \(Design/DEG\)" <argathin@iname.com>
To: redhat-list@redhat.com
Mail-Followup-To: redhat-list@redhat.com
In-Reply-To: <Pine.LNX.3.95.981118115944.4551B-100000@snt-gw.snt.isternet.sk>; from Tomas Buday on Wed, Nov 18, 1998 at 12:05:40PM +0100
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Tomas Buday writes:
> hi there,
> look at this session:
> ------------------------------------------------------------
[...] 
> --------------------------------------------------------------------------
> 
> any comments?

I'm not quite sure what you problem is, but maybe a few explanations might
be helpful.

Ok, you logged in as user and then issued the "su" command. As you didn't
use "su -", you become root, but the directory stays the same (and so does
the environment!). Hence, you're still in the user's directory. (For more
info on su: man su).
Then, you create a file as root in the user's directory and log back out to
become yourself again. And now, as an ordinary user, you're able to remove a
file created by root in your directory - and that's correct. It's your user
directory, so you have the full power over it's contents, be they put there
by somebody else or not.

Does that help you?

Thomas
-- 
             "Look, Ma, no obsolete quotes and plain text only!"

     Thomas Ribbrock | http://www.bigfoot.com/~kaytan | ICQ#: 15839919
   "You have to live on the edge of reality - to make your dreams come true!"


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post