- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sudo control of root to oracle id.
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
05-12-2004 07:33 AM
05-12-2004 07:33 AM
sudo control of root to oracle id.
uses sudo to su to root. That they will
not be able to su to oracle as the sudo root?
Seems like a strange question but this user
knows they are not to su to oracle using sudo
so they su to root(which they are allowed)
then they su to oracle.
On HP-UX if I su to root. I am root but the
true uid is me when doing a "who am I".
Can't sudo be configured to know that it is
another user running a root and deny them
to su - oracle based on the sudoers file.
I though there was a way to do this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2004 07:36 AM
05-12-2004 07:36 AM
Re: sudo control of root to oracle id.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2004 07:44 AM
05-12-2004 07:44 AM
Re: sudo control of root to oracle id.
If someone can't be trusted, why in the wide world of sports are they given the root password?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2004 07:47 AM
05-12-2004 07:47 AM
Re: sudo control of root to oracle id.
I am not sure why and how you can trust someone with the root capability but still want to prevent them from logging in as oracle.
once the user is root, there are more ways to skin the oracle cat, including but not limited to changing oracle userid's password, logging in and back.
If you think that those people that you trust with root capapbility will misuse their privileges, I would yank their root privileges without blinking my eyes a second time.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2004 07:55 AM
05-12-2004 07:55 AM
Re: sudo control of root to oracle id.
However, look into negating the "set_logname" from sudo.
Although not sure how that will work since you allow them to become root. But might be worth looking into.
Sounds to me like its time to yank su access for that user, and make specify all the commands that user can do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2004 08:17 AM
05-12-2004 08:17 AM
Re: sudo control of root to oracle id.
The admins here did not understand enough
to have the user justify the need.
I plan on taking root away but due to
politics its not going to be a friendly
change. The oracle dba's have told this
person to not su to oracle to make changes
but the person continues to do so.
Studying the logs. The user does not need
root to do their job as an app admin. It is a convenience.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2004 02:46 PM
05-12-2004 02:46 PM
Re: sudo control of root to oracle id.
As an alternative, sudo DOES provide the controls necessary to limit these user privileges. Rather than a takeaway option in sudo, you have the option to give commands to selected users. If a user needs to mount/umount a CDROM, not only list just the mount command in sudoers, but specify the acceptable source and destination. Don't ever give vi privileges to a non-sysadmin user--they can edit anything including sudoers and they can escape from vi to a shell with root privileges.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2004 02:41 AM
05-13-2004 02:41 AM
Re: sudo control of root to oracle id.
I would have to agree with the raving masses:
Careful who you give root access to.
The main feature of SUDO is allowing root-like access to specific people to do specific tasks without giving full root access.
If I were you I would be asking myself things like:
"Why does this person have root access?"
"Can they do their job without root access?"
"How can I configure SUDO so this person can still do their root-like jobs without actually being root?"
The way things are now, you are trying to "put bars on the windows while leaving the front door wide open".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2004 02:51 AM
05-13-2004 02:51 AM
Re: sudo control of root to oracle id.
Once you do sudo to root, you cannot control it. That is why it is the superuser id. It can do sudo to oracle or any id if it wants.
Your only choice is to somehow take the root access from that guy.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2004 04:37 AM
05-13-2004 04:37 AM
Re: sudo control of root to oracle id.
Change your root password and when they'll crash on the authentication wall, they'll come at you to gain access again. If you are sys admin, you're not here to be loved.
As Clay said, they should never have been given the root password. So take it back.
Regards,
Fred
"Reality is just a point of view." (P. K. D.)