- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Information on users
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
тАО08-29-2006 03:46 PM
тАО08-29-2006 03:46 PM
Information on users
Hi all,
Is there any system call which gives the list of all the users in the system..If so, Can someone help me on this ? as in other operating systems, there is "dispuid" , is there any system call similar to it which gives the users list?
Thank u all
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2006 04:10 PM
тАО08-29-2006 04:10 PM
Re: Information on users
Have a look at the man pages of utmp(4)and getutent()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2006 04:31 PM
тАО08-29-2006 04:31 PM
Re: Information on users
who -Hu -> current logins on system
lastb -> previous unsuccessful logins.
last -> previous successful logins
logins -u -> user accounts on system
listusers -> list users
See man pages of all commands to know more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2006 08:25 PM
тАО08-29-2006 08:25 PM
Re: Information on users
Thanks for ur help..
I was able to get through logins system call. Thanks all for ur help..
Thank u...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2006 05:01 PM
тАО08-30-2006 05:01 PM
Re: Information on users
Thank u all for ur help, I was searching for a sample program on utmp structure which can give me the list of users on the system.if anyone can help me on that please forward me links where i can get information..
Thanks u all
raju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2006 05:10 PM
тАО08-30-2006 05:10 PM
Re: Information on users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2006 05:49 PM
тАО08-30-2006 05:49 PM
Re: Information on users
There is some problem with the utmp structure, it returns only the currently logged in users and it can have duplicate values . The system calls logins is executable only in the root,but not in the non-root.. I need a system call where I can get all the user names list in the system both in the root and non-root...
Can anyone suggest a solution on this....Awaiting for reply..
Thank u all
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2006 06:50 PM
тАО08-30-2006 06:50 PM
Re: Information on users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2006 08:56 PM
тАО08-30-2006 08:56 PM
Re: Information on users
Hi all,
Sorry that i was unable to motivate you all for patiently answering me .Whatever information i get from you all is one other way useful for me, to broaden my knowledge on the system.
Thank u all for ur help and support..