- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HPUX 11.31 same group but ..
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
10-21-2009 06:52 AM
10-21-2009 06:52 AM
this ocure on my new itanium 11iV3.
I think this should be easy for you.
Two users same group ( users) :
- user1 create a file /tmp/file1
- user2 is unable to rename file ( mv file1 file2)
-file1 is rwxrwxrwx
-file1 is in /tmp
(drwxrwxrwt 11 root root 32768 21 oct 16:42 tmp )
this is quite anoying isn't it ?
I can remeber there was several levels of security but never use them .
may someone help me on this
please
xavier
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2009 07:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2009 07:17 AM
10-21-2009 07:17 AM
Re: HPUX 11.31 same group but ..
The effect of the sticky bit is described as follows in "man 2 chmod":
----
If the mode bit S_ISVTX (sticky bit) is set on a directory, files inside the directory can be renamed or removed only by the owner of the file, the owner of the directory, or a process with the OWNER privilege (even if the modes of the directory would otherwise allow such an operation).
----
In other words, the sticky bit does exactly what it's documented to do.
The sticky bit is a basic filesystem feature: no special security levels are needed to use it. This has been possible to do from at least 11.00 onwards, but it has not been the factory default... until now.
Many programs can be abused by manipulating their temporary files. /tmp must be writeable by everyone, so the sticky bit (chmod 1777 /tmp) is recommended by security experts. Setting the sticky bit on /tmp and /var/tmp is either a default or a very common part of post-installation hardening procedures on many unix-style operating systems.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2009 07:19 AM
10-21-2009 07:19 AM
Re: HPUX 11.31 same group but ..
can you send error message and command output
# grep
tks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2009 07:20 AM
10-21-2009 07:20 AM
Re: HPUX 11.31 same group but ..
thank's I didn't see the sticky bit.
Any idea on how I can remove sticky bit on /tmp,
I'm not affraid about security hole in that case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2009 07:24 AM
10-21-2009 07:24 AM
Re: HPUX 11.31 same group but ..
chmod 777 /tmp
Slds
JEA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2009 07:25 AM
10-21-2009 07:25 AM
Re: HPUX 11.31 same group but ..
chmod o-t /tmp
or
chmod 777 /tmp
If you want to put the sticky bit back at some point:
chmod o+t /tmp
or
chmod 1777 /tmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2009 07:29 AM
10-21-2009 07:29 AM
Re: HPUX 11.31 same group but ..
so quickly
point assigned !
best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2009 07:30 AM
10-21-2009 07:30 AM
Re: HPUX 11.31 same group but ..
solved