- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: security settings
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
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-13-2005 01:28 AM
01-13-2005 01:28 AM
security settings
-rwsr-s--- 1 root dba 2408432 Jul 22 12:53 dbsnmp
Thank you !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2005 01:34 AM
01-13-2005 01:34 AM
Re: security settings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2005 01:38 AM
01-13-2005 01:38 AM
Re: security settings
Permissions should be:
-rwxr-xr-x
It should not have suid permisions set as it does now.
It should be owned by oracle or whatever user owns your oracle binaries. It would have been helpful if you'd said this was an oracle file.
fix:
chown oracle:dba dbsnmp
chmod u+rwx dbsmnp
chmod g+rx dbsnmp
chmod o+rx dbsnmp
alternate chmod
chmod 755 dbsnmp
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2005 01:46 AM
01-13-2005 01:46 AM
Re: security settings
and hope your words "security settings" were meant ironically.
You should keep the number of files owned by root and with suid or sgid bits set to an absolute necessary minimum on your systems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2005 02:44 AM
01-13-2005 02:44 AM
Re: security settings
The best way to get your stuff back to where it belongs when your Oracle binaries are messed up is to relink your binaries.
That being said - you'll want to review this file for permissions - it should be set to 750.
If you relink your Oracle_Home binaries and end up with the same issues - you should really think about upgrading the version of the database you're on, as well as keeping up with Oracle's latest security patches if you've not already done so.
At a minimum set the perms manually, and see if you can find it in the makefile and fix the chmod yourself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2005 03:32 AM
01-13-2005 03:32 AM
Re: security settings
To add sticky bits, use chmod N+s where N is g(group), u(user), o(other).
I.E.
chmod 755 myprogram
ls -l myprogram
-rwxr-xr-x ... myprogram
chmod u+s myprogram
-rwsr-xr-x ... myprogram
I find it very irresponsible for anyone claim you should never have this bit set. Arbitrarily changing permissions on vendor binaries can often lead to application failure.
Even in HP-UX remsh requires a sticky bit to be set for root, as does uucp, yppasswd, and many more.
Follow vendor requirements for permissions, and if you feel something is insecure the vendor needs to address those issues.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2005 09:46 PM
01-13-2005 09:46 PM
Re: security settings
I do agree with Sharon about this one. In terms of the security settings. They key thing to remember about files with those permissions is that other people should not be able to modify the file or execution path. Hence the Group and Other write bits should be disabled.The necessary buffer overflow preventions must be in place( author/vendors task). The necessary signals should be trapped and handeld in a clean way.
With the above measures in place it should not pose a security risk. I did miss some statements but that is the key ones to look at. Part of the unix security model is to give you the ability to get elavated permissions and aboviously to have it removed later on.
Just my thoughts.
Gerhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2005 11:01 PM
01-13-2005 11:01 PM
Re: security settings
but the sticky bit is something completely different, whose days I think have almost been counted because it used to serve "sticking" pages in memory once upon a time, when memory managment was handled differently.
Because of its loss of relevance nowadays its only purpose left seems to use it on directories to prevent users from manipulating files belonging to others in world writable directories, such as /tmp
The dangerous bits this thread is about are the setuid and setgid bits (or short sbit) that are named after the namesake syscalls.
Although this is a little digression from your problem you could also have a look at this document, which despite its age still has a lot of valuable suggestions how to "harden" ones system
http://hyatus.dune2.info/Unix/bastion11.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2005 12:47 AM
01-14-2005 12:47 AM
Re: security settings
So, to add setuid - chmod +s
to add setgid, chmod +g
man chmod for more info.
Be absolutely sure if you want setuid as root...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2005 02:05 AM
01-15-2005 02:05 AM
Re: security settings
Directories with this attribute mean that files created within it either can only be deleted by root or the user that created it, or when on a group the file will belong to that group regardless of the group membership of the user that created it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 01:49 AM
02-23-2005 01:49 AM
Re: security settings
jack
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 01:56 AM
02-23-2005 01:56 AM
Re: security settings
Here is Jack's "getchmod" script.
Pete
Pete