- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- root access by oracle - how?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 04:46 AM
01-03-2005 04:46 AM
root access by oracle - how?
HPUX 11.11 on rp7410 systems.
I have the /etc/default/security file setup so that only the members of the group 'wheel' have access to the root account. Have tested numerous times and the respponse is "not a member of the group wheel ..." The date stamp on this file is Aug 30.
The /etc/group file has a date stamp of Dec 6.
Looking in the /var/adm/sulog file shows that oracle has become root on several occasions, most recently on Dec 27.
When I login as oracle as su - I get the "not in wheel group" message. So how is oracle becoming root?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 04:48 AM
01-03-2005 04:48 AM
Re: root access by oracle - how?
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 04:49 AM
01-03-2005 04:49 AM
Re: root access by oracle - how?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 04:55 AM
01-03-2005 04:55 AM
Re: root access by oracle - how?
+ oracle
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 04:57 AM
01-03-2005 04:57 AM
Re: root access by oracle - how?
/usr/sbin/logins -d
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 04:57 AM
01-03-2005 04:57 AM
Re: root access by oracle - how?
can you post an example of what you see in /var/adm/sulog
grep oracle /var/adm/sulog
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 04:59 AM
01-03-2005 04:59 AM
Re: root access by oracle - how?
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 05:02 AM
01-03-2005 05:02 AM
Re: root access by oracle - how?
grep 'oracle-root' /var/adm/sulog
SU 12/06 09:45 - 2 oracle-root
SU 12/06 09:45 - 2 oracle-root
SU 12/06 09:45 - 2 oracle-root
SU 12/06 09:45 - 2 oracle-root
SU 12/06 09:45 - 2 oracle-root
SU 12/06 09:46 + 2 oracle-root
SU 12/06 11:39 - 1 oracle-root
SU 12/06 11:39 - 1 oracle-root
SU 12/06 11:39 - 1 oracle-root
SU 12/06 11:39 + 1 oracle-root
SU 12/07 09:37 - 2 oracle-root
SU 12/07 09:38 + 2 oracle-root
SU 12/07 09:38 - 2 oracle-root
SU 12/07 09:39 + 2 oracle-root
SU 12/13 00:55 - tb oracle-root
SU 12/13 00:56 - tb oracle-root
SU 12/13 00:56 - tb oracle-root
SU 12/13 00:56 + tb oracle-root
SU 12/14 08:57 - 6 oracle-root
SU 12/14 08:57 - 6 oracle-root
SU 12/14 08:57 + 6 oracle-root
SU 12/14 09:16 - 6 oracle-root
SU 12/14 09:17 + 6 oracle-root
Oracle has no need to be in the wheel group and has never been. Also looked in the .rhost for root and oracle is not in there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 05:15 AM
01-03-2005 05:15 AM
Re: root access by oracle - how?
Is it possible that they have sudo access to become root. You can check that.
You can run the last command to find out who was logged into the terminal from which the oracle became root.
last -R -number oracle
It may list the ip address / name of the pc/laptop from where this login session was initiated as oracle and then su'ed to root.
on one of the system, last -R -200 oracle gave me the last 200 sessions initiated as oracle and it tells me the hostname from where the session started. Find one on the port mentioned in sulog at the time mentioned over there.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 05:46 AM
01-03-2005 05:46 AM
Re: root access by oracle - how?
did you check for scripts which are executable for "oracle" and have s-bit set for group wheel ?
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 06:30 AM
01-03-2005 06:30 AM
Re: root access by oracle - how?
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 07:00 AM
01-03-2005 07:00 AM
Re: root access by oracle - how?
it might be possible for a user sharing the same uid as oracle, being a member of the wheel group.
Just a thought..
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 07:34 AM
01-03-2005 07:34 AM
Re: root access by oracle - how?
The PC is connecting to CDE via Reflections. Direct login via oracle. Do an su - $USER where $USER is a user that is allowed root access via the wheel group. Once this su is complete can then become root.
Look into the sulog and it shows oracle-root. This is a logging bug.
The oracle was not in the wheel group, could not newgrp to wheel, no rhosts entry, etc.
Everything is setup as it should be. It is a logging issue with the sulog.
Many thanks to all for the ideas!