RE: Fw: OT - Getting fired for database oops
- From: "Bobak, Mark" <Mark.Bobak@xxxxxxxxxxxx>
- To: "tanel@xxxxxxxxxx" <tanel@xxxxxxxxxx>, "dbvision@xxxxxxxxxxxx" <dbvision@xxxxxxxxxxxx>
- Date: Wed, 27 May 2009 08:49:34 -0400
You can also 'chattr +i filename' to make a file immutable. Even root can't touch it that way. (Unless of course, root turns off immutability.) -Mark -----Original Message----- From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Tanel Poder Sent: Wednesday, May 27, 2009 8:28 AM To: dbvision@xxxxxxxxxxxx Cc: oracle-l@xxxxxxxxxxxxx Subject: RE: Fw: OT - Getting fired for database oops Well the root ownership doesn't prevent you from renaming the original sqlplus/admin directory to something else and cloning that directory back using cp -rp, which would lose the root ownership bit. If you set the whole tree as owned by root - then you can just clone your whole directory to /tmp and run from there. Also there are other tricks like using LD_PRELOAD env variable to redirect some file opens to your custom files without the application knowing about it. So the setting the root ownership wouldn't be a secure solution, it would be "security by obscurity" at most. -- Regards, Tanel Poder http://blog.tanelpoder.com > > my favourite would be a preventive control, one which > simply does not > > allow oracle user to change glogin.sql just like that. A > drastic but > > effective implementation is to chown root glogin.sql and > make it read > > only by oracle user (and the world). This would be > acceptable because > > you do not update this file often, only sqlplus reads it every time > > > Good idea, and applicable to a lot of others as well. > Thanks! > > -- > Cheers > Nuno Souto > in rainy Sydney, Australia > dbvision@xxxxxxxxxxxx > -- > http://www.freelists.org/webpage/oracle-l > > -- http://www.freelists.org/webpage/oracle-l -- http://www.freelists.org/webpage/oracle-l
- References:
- Re: Fw: OT - Getting fired for database oops
- From: Jared Still
- Re: Fw: OT - Getting fired for database oops
- From: Jared Still
- RE: Fw: OT - Getting fired for database oops
- From: Bobak, Mark
- Re: Fw: OT - Getting fired for database oops
- From: Jared Still
- Re: Fw: OT - Getting fired for database oops
- From: Thomas Day
- Re: Fw: OT - Getting fired for database oops
- From: Jack van Zanen
- RE: Fw: OT - Getting fired for database oops
- From: Andre van Winssen
- Re: Fw: OT - Getting fired for database oops
- From: Jared Still
- RE: Fw: OT - Getting fired for database oops
- From: Andre van Winssen
- Re: Fw: OT - Getting fired for database oops
- From: Nuno Souto
- Re: Fw: OT - Getting fired for database oops
- From: Andre van Winssen
- Re: Fw: OT - Getting fired for database oops
- From: Nuno Souto
- RE: Fw: OT - Getting fired for database oops
- From: Tanel Poder
- Re: Fw: OT - Getting fired for database oops
Other related posts:
- » Fw: OT - Getting fired for database oops - Guang Mei
- » Re: Fw: OT - Getting fired for database oops - Andrew Kerber
- » Re: Fw: OT - Getting fired for database oops - Jared Still
- » Re: Fw: OT - Getting fired for database oops - Rich Jesse
- » Re: Fw: OT - Getting fired for database oops - S. Anthony Sequeira
- » Re: Fw: OT - Getting fired for database oops - Yong Huang
- » Re: Fw: OT - Getting fired for database oops - Adric Norris
- » Re: Fw: OT - Getting fired for database oops - Jared Still
- » Re: Fw: OT - Getting fired for database oops - Rich Jesse
- » Re: Fw: OT - Getting fired for database oops - Jared Still
- » Re: Fw: OT - Getting fired for database oops - Tony van Lingen
- » RE: Fw: OT - Getting fired for database oops - Joel.Patterson
- » Re: Fw: OT - Getting fired for database oops - Thomas Day
- » Re: Fw: OT - Getting fired for database oops - Jared Still
- » Re: Fw: OT - Getting fired for database oops - Ravi Gaur
- » RE: Fw: OT - Getting fired for database oops - SHEEHAN, JEREMY
- » RE: Fw: OT - Getting fired for database oops - Bobak, Mark
- » Re: Fw: OT - Getting fired for database oops - Jared Still
- » Re: Fw: OT - Getting fired for database oops - Thomas Day
- » Re: Fw: OT - Getting fired for database oops - Jack van Zanen
- » Re: Fw: OT - Getting fired for database oops - Howard Latham
- » RE: Fw: OT - Getting fired for database oops - Andre van Winssen
- » Re: Fw: OT - Getting fired for database oops - Jared Still
- » RE: Fw: OT - Getting fired for database oops - Andre van Winssen
- » RE: Fw: OT - Getting fired for database oops - Tanel Poder
- » Re: Fw: OT - Getting fired for database oops - Nuno Souto
- » Re: Fw: OT - Getting fired for database oops - Niall Litchfield
- » Re: Fw: OT - Getting fired for database oops - Jared Still
- » Re: Fw: OT - Getting fired for database oops - Andre van Winssen
- » Re: Fw: OT - Getting fired for database oops - Nuno Souto
- » RE: Fw: OT - Getting fired for database oops - Tanel Poder
- » RE: Fw: OT - Getting fired for database oops - Bobak, Mark
- » Re: Fw: OT - Getting fired for database oops - Nuno Souto
- » Re: Fw: OT - Getting fired for database oops - Stephen Booth
- » Re: Fw: OT - Getting fired for database oops - Andre van Winssen
- » Re: Fw: OT - Getting fired for database oops - Connor McDonald
- » RE: Fw: OT - Getting fired for database oops - Tanel Poder
- » RE: Fw: OT - Getting fired for database oops - Andre van Winssen
- » Re: Fw: OT - Getting fired for database oops - Frits Hoogland
- » Re: Fw: OT - Getting fired for database oops - Nuno Souto