- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- UID to name mapping
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
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
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
тАО06-01-2008 03:32 AM
тАО06-01-2008 03:32 AM
I am suffering from a strange issue. Some how i see my 11.11 lost UID to names mapping for all users other than root. Whenever, i switch to any user and issue ls -ltr, it just shows the UID in owner and group.
VELSD2N0#ls -ltr /etc/passwd
-r--r--r-- 1 root sys 791 Jun 1 16:53 /etc/passwd
VELSD2N0#su - oracle
$ id
uid=108() gid=106()
System is not trusted.
It is all ok for root....
Any suggestions? :)
Thanks,
Anshu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2008 03:44 AM
тАО06-01-2008 03:44 AM
Re: UID to name mapping
The permissions should be -r--r--r-- or 400.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2008 04:00 AM
тАО06-01-2008 04:00 AM
Re: UID to name mapping
What's in /etc/passwd, just enough to point to NIS?
Try this:
/sbin/init.d/nis.client stop
/sbin/init.d/nis.client start
See these threads:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1184911
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1222063
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2008 04:15 AM
тАО06-01-2008 04:15 AM
Re: UID to name mapping
check your /etc/default files and from SAM check the UID is unique to all users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2008 05:40 AM
тАО06-01-2008 05:40 AM
Solution> -r--r--r-- 1 root sys 791 Jun 1 16:53 /etc/passwd
Right in front of my eyes!!
Anyway, just in case check if /etc itself is cd-able by non-root and verify what the other people suggested.
Did you run any hardening or auditing scripts on this server and can you correlate to some event when this problem started?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2008 06:34 AM
тАО06-01-2008 06:34 AM
Re: UID to name mapping
What are the contents?
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 12:32 AM
тАО06-03-2008 12:32 AM
Re: UID to name mapping
It was closed. The issue was with permission on /etc
Cheers!
Anshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 12:33 AM
тАО06-03-2008 12:33 AM