HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- userids in /etc/passwd, but not in sam
Operating System - HP-UX
1829025
Members
2172
Online
109986
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
02-12-2001 12:40 PM
02-12-2001 12:40 PM
userids in /etc/passwd, but not in sam
HP-UX 10.20
All patches installed.
Created a new user. That new user's info is seen in /etc/passwd, but it is not seen in the user listing provided by sam (yes, I did hit Refresh). Has anyone seen this problem?
Other info:
maxusers = 220
more /etc/passwd | wc -l = 191
Thanks in advance.
-Rob
All patches installed.
Created a new user. That new user's info is seen in /etc/passwd, but it is not seen in the user listing provided by sam (yes, I did hit Refresh). Has anyone seen this problem?
Other info:
maxusers = 220
more /etc/passwd | wc -l = 191
Thanks in advance.
-Rob
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2001 01:44 PM
02-12-2001 01:44 PM
Re: userids in /etc/passwd, but not in sam
I have seen this before in the case that the user id listed in the /etc/passwd file was the same as another user who already existed. Sam would only show the first user it ran into with the user id and would ignore the second one. Changing the uid fixed it. Don't know if this helps, but its worth a look.
Good Luck,
Jason V.
Good Luck,
Jason V.
Tie two birds together, eventhough they have four wings, they cannot fly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2001 11:37 PM
02-12-2001 11:37 PM
Re: userids in /etc/passwd, but not in sam
Hi Robert,
If 2 or more users share the same UID, sam will only show you the first one, as will all programs using the getpwent() call.
Here is an abstract of the getpwent() manpage:
When first called, getpwent() returns a pointer to the first passwd structure in the password database.
Best regards,
Dan
If 2 or more users share the same UID, sam will only show you the first one, as will all programs using the getpwent() call.
Here is an abstract of the getpwent() manpage:
When first called, getpwent() returns a pointer to the first passwd structure in the password database.
Best regards,
Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP