- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Directory and file permissions
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
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
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-22-2013 08:41 AM
07-22-2013 08:41 AM
We're currently running a sandbox setup to deploy a number of 11i-v3 machines. Only 1 of the machines was upgraded to SMSE status. One of our SA interns was in "learning" mode over the weekend and inadvertently made some "sweeping" changes to the /var/adm/userdb directory and its subordinate files (starting at 00 and thru to the end). This machine was going to be used as a golden image.
I'd just like to help her to avoid any issues concerning the accidental mods. Can anyone tell me what the owner, group, and mode defaults for the dir and the subordinate files, so we can get this fixed w/a minimum of pain?
Thanks.
Solved! Go to Solution.
- Tags:
- Permission
- SMSE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2013 09:22 AM
07-22-2013 09:22 AM
SolutionThe userdb directory itself:
# pwd
/var/adm
# ll -d userdb
drwx------ 2 root sys 8192 Apr 8 13:13 userdb
All files in /var/adm/userdb should be owned by root, with sys as the group, and 600 permissions (rw-------).
# pwd
/var/adm/userdb
# ll | more
total 32800
drwx------ 2 root sys 8192 Apr 8 13:13 .
drwxr-xr-x 18 adm adm 8192 Jul 12 22:36 ..
-rw------- 1 root sys 65536 Apr 8 13:12 00
-rw------- 1 root sys 65536 Apr 8 13:12 01
-rw------- 1 root sys 65536 Apr 8 13:12 02
-rw------- 1 root sys 65536 Apr 8 13:12 03
-rw------- 1 root sys 65536 Apr 8 13:12 04
-rw------- 1 root sys 65536 Apr 8 13:12 05
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2013 09:43 AM
07-22-2013 09:43 AM
Re: Directory and file permissions
Many thanks, Patrick. I know that when the intern comes in this afternoon for her shift, she'll breathe a sigh of relief.
I had a note on my desk today asking "if" she should come in.
But, mistakes are how we learn! Worst case, she'd have had some extra work to do.
Thanks again.