- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Generated dinamic directories
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
07-01-2004 08:21 PM
07-01-2004 08:21 PM
I have put this question few weeks ago, but I recall it again for further clarifications.
Because of security reasons, I want to change permission of all systems directories with 777 permission to 775 instead.
After monitoring for few days, I noticed that the 3 directories below are always changed back to 777 with unknown reasons
/var/opt/dce/rpc/local/s-0
/var/opt/dce/rpc/local/s-3
/var/spool/sockets/pwgr
I concluded the answers from this forum that those directories are generated dynamic directories, even if they are removed and system is rebooted they will get created once again. There no way to prevent them from 777 permission.
My further question :
1. what happen if any user or root accidently delete one or more files under those directories? will the system crash or user get disconnected from system?
2. what happen if those directories are accidently deleted? will the system crash or user get disconnected from system?
Pls help. High score will be given.
Thanks for your helo in advance.
Best Regards,
Negara
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 08:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 08:37 PM
07-01-2004 08:37 PM
Re: Generated dinamic directories
I dont see any security reason to change anything here
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 09:10 PM
07-01-2004 09:10 PM
Re: Generated dinamic directories
var/opt/dce/rpc/local/s-0
/var/opt/dce/rpc/local/s-3
/var/spool/sockets/pwgr
var/opt/dce/rpc/local/s-0
/var/opt/dce/rpc/local/s-3
the above directories have 1777 on my system and I feel that should be the right way to have the sticky bit on those directories.
If sticky bit is set only the owner or root can delete the directory.
Regarding
/var/spool/sockets/pwgr
pwgr is a password and group caching,
this would not be required on systems with minimum users.
Just disable pwgr in /etc/rc.config.d/pwgr,the value to 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 09:27 PM
07-01-2004 09:27 PM
Re: Generated dinamic directories
Can anyone pls help what might be happen if user or root delete the files under those directories?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 10:35 PM
07-01-2004 10:35 PM
Re: Generated dinamic directories
there will be a disconnection in the connections when those socket files are removed.
As mentioned previously,removing files from pwgr directory is not going to affect much as anyway those files which are not used for 10 minutes will be automatically deleted.
For the other important directories you would definitely require sticky bit permissions on them.
I have sticky bit set on s-0 and s-3 directories