Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Changing Oracle gid and uid?

RE: Changing Oracle gid and uid?

From: Bobak, Mark <Mark.Bobak_at_il.proquest.com>
Date: Tue, 11 Oct 2005 13:07:28 -0400
Message-ID: <AA29A27627F842409E1D18FB19CDCF27052C6F87@AABO-EXCHANGE02.bos.il.pqe>


Except of course, for root. Chown by root does not touch suid/sgid bits. But then, if you already have root, system security is not an issue.

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Denny Koovakattu Sent: Tuesday, October 11, 2005 1:04 PM
To: oracle-l_at_freelists.org
Cc: makbo_at_pacbell.net
Subject: Re: Changing Oracle gid and uid?

  But in practice, chown removes the setuid bit. If not, you could break into systems that way. Make a copy of ksh or sh, set the setuid bit and then change ownership to any other user and then execute the new shell with setuid ;)

Regards,
Denny

--
Denny Koovakattu


Quoting Mark Bole <makbo_at_pacbell.net>:


> David Sharples wrote:
> > you would also have to reset the setuid permission on the oracle
> > executable as it would be lost with a chown
>
> Not so. chmod changes file permissions, not chown.
>
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. -- http://www.freelists.org/webpage/oracle-l -- http://www.freelists.org/webpage/oracle-l
Received on Tue Oct 11 2005 - 12:10:35 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US