- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What does the set-owner-id-on-file-execution mean
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-21-2004 06:16 AM
05-21-2004 06:16 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 06:21 AM
05-21-2004 06:21 AM
SolutionThis can be a security risk so you really need to be sure that it's what you want to do.
If you want named users to startyour database you can either put those users in the "dba" group and use SETUID (in the example above) and remove read and execute permission for everyone else or you could use a tool like "sudo" where you can specify individual users who can run things as other users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 06:52 AM
05-21-2004 06:52 AM
Re: What does the set-owner-id-on-file-execution mean
man chmod
will give you more information.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 06:54 AM
05-21-2004 06:54 AM
Re: What does the set-owner-id-on-file-execution mean
Owner permissions of the file are temporarily given to the User accessing that file.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 07:04 AM
05-21-2004 07:04 AM
Re: What does the set-owner-id-on-file-execution mean
http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 07:44 AM
05-21-2004 07:44 AM
Re: What does the set-owner-id-on-file-execution mean
To answer your question, yes, you can set the SUID bit on the appropriate start/stop scripts for your oracle database so that it will start/stop with effective user rights of a privileged user or application account, but as Mark pointed out, this can pose a security concern ...
Here's an excerpt from a security doc I authored regarding SUID:
Even if you prevent users from logging into the superuser (root) account, many UNIX programs need to run with superuser privileges. These programs are run as SUID root programs.
Unauthorized SUID programs present a security hazard. Many security holes have been discovered by people who have figured out ways of making a SUID program do something that it was not designed to do. If the superuser account is compromised then the system is left vulnerable.
It is extremely important, therefore, that any program that has the SUID bit set is of known origin and scope.
Enjoy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 07:48 AM
05-21-2004 07:48 AM
Re: What does the set-owner-id-on-file-execution mean
One thing I wanted to clarify, if you are concerned about the SUID files on your system (and there are SGID files as well that you should monitor), you can set up a cron job to do the following. My security script automates this, during a system install, to be done on a weekly basis ...
find / -type -f -perm -u+s -exec ls -lL {} \; >/tmp/SUID.out.$$
From this list you should review to see which files do NOT need the SUID setting and remove it. You should know the names of all SUID and SGID files on your system. If you discover new SUID or SGID files, somebody might have created a trap door that they can use at some future time to gain superuser access.
Hope this helps!