- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Find the UID & GID
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
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
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-26-2010 06:23 PM
тАО07-26-2010 06:23 PM
Find the UID & GID
Please help me to find the owner of the directory /mtt/dss/dsprofiles
root@zgifqassa:/etc > ls -ld /mtt/dss/dsprofiles
drwxr-xr-x 9 511 152 1024 Jul 26 07:37 /mtt/dss/dsprofiles
root@zgifqassa:/etc > grep 511 /etc/passwd
root@zgifqassa:/etc > grep 152 /etc/group
root@zgifqassa:/etc > ypcat passwd | grep -i 511
ypcat: the domainname hasn't been set on this machine.
root@zgifqassa:/etc >
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2010 06:30 PM
тАО07-26-2010 06:30 PM
Re: Find the UID & GID
In that case, the only way to find them may be to go back to some old backups and see if they existed in the past. The problem is knowing how far back to go.
This is one reason that some places never delete users. They inactivate/lock them, give them an invalid password and/or set their shell to /bin/false, so that no one can ever log in as that user. Then when issues like this come up, you know who/what owned a file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2010 06:56 PM
тАО07-26-2010 06:56 PM
Re: Find the UID & GID
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2010 01:07 AM
тАО07-27-2010 01:07 AM
Re: Find the UID & GID
If you are using ypcat, that may be the problem. The fix may be:
# /sbin/init.d/nis.client stop
# /sbin/init.d/nis.client start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2010 12:45 AM
тАО07-28-2010 12:45 AM
Re: Find the UID & GID
What about the /mtt/ path.
Is it a shared storage FS mountpoint/ NFS mountpoint??
The source server user ID's may not be there in this machine.
This is possible while doing backup restoration also, where username and group name cannot be resolved from passwd / group file and will remain as the ID's.
Vipin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2010 08:18 AM
тАО07-28-2010 08:18 AM
Re: Find the UID & GID
You need to give more details.
This could happen in a lot of situations
- Copy those files by another server maintaining the ID's
- NFS File System
- Remove those user's
Best Regards.