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
10-07-2002 12:07 PM
10-07-2002 12:07 PM
When I use listuser command to see users on my HP-UX11 system, I have found a user listed 15 times. She was actually logged in only three times. I have found this twice with different users. WTMP does not show the 15 logins. Any ideas?
Thanks,
Rocky Lavoie
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 12:15 PM
10-07-2002 12:15 PM
Re: listuser
I just checked one of my 11.0 boxes and I don't have a 'listuser' command. I have a 'listusers', but it just prints a pretty list of the users in the /etc/passwd file.
Does your user show up too many times when you use the 'who' command?
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 12:17 PM
10-07-2002 12:17 PM
Re: listuser
What does your "grep ^user /etc/passwd" gives?.
listusers picks up logins from /etc/passwd.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 12:24 PM
10-07-2002 12:24 PM
Re: listuser
The 'listusers' command uses the contents of the 'etc/passwd' and '/etc/group' files. The 'var/adm/wtmp' file (when present) holds the last login information.
Was the 'wtmp' file trimmed? Did you provide any options to 'listusers'? It would be helpful to see the input and output of this command.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 12:26 PM
10-07-2002 12:26 PM
Re: listuser
man who
man listusers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 12:31 PM
10-07-2002 12:31 PM
Re: listuser
Thanks for the replies.
The listuser command is from our unidata database. It is supposed to show the number of licenses in use. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 12:46 PM
10-07-2002 12:46 PM
Re: listuser
I didn't know about the HP-UX 'listusers' command. Now I can go home happy because I learned something new today. Cool! :)
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 12:50 PM
10-07-2002 12:50 PM
SolutionIf this command is to show DB connections & it shows 15 connections from this user's 3 login sessions - then either:
1) This user has terminated abnormally in the past & the "connections" still show up (Could be a user education issue - i.e. exit the application or session properly)
OR
2) This user actually has 15 DB connections, either directly logged in or via applications runing under the user's ID.
I'd check just what processes (ps -uf user_name) this user has currently running.
Rgds,
Jeff