- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: user list
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
08-25-2006 04:12 AM
08-25-2006 04:12 AM
user list
How can i get this info?
Thanks
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2006 04:18 AM
08-25-2006 04:18 AM
Re: user list
The 'logins' command (see the man pages for more options) is one way to list users.
http://docs.hp.com/en/B2355-60127/logins.1M.html
As for any creation timestamp, Unix doesn't track creation. About the best is the coincidence of an unmodifed file's 'mtime' being equivalent to the moment of its creation.
Since directories have their 'mtime' updated as files are added and removed, this isn't a fool-proof indication either. Inference but not proof is as good as it gets when it coms to tracking "creation".
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2006 04:23 AM
08-25-2006 04:23 AM
Re: user list
If you want to know these data (and it's becomingly increasingly common under security audit's) then you must create a database that stores the info and adopt strict procedures that always add and disable users in scripts thats update this database. The bad news is that this needed to be thought of on the front end.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2006 06:03 AM
08-25-2006 06:03 AM
Re: user list
#cut -d : -f 1,2 /etc/passwd
will give you the username and encrypted passwd. if the user is not active, that will be *. so u can find out the list of active users.
when their created is not availble. from the above responses, u can find that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2006 12:05 PM
08-25-2006 12:05 PM
Re: user list
i manually track all accounts added and removed on my systems to get an accurate time of when accessed was given and/or taken away
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2006 03:53 AM
08-26-2006 03:53 AM
Re: user list
that is simple way
list out all the users list
use logins cmd
user whodo cmd to active users list
use id username ( id root) to find details or users
do need yet more?
thanks
siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2006 08:02 AM
08-26-2006 08:02 AM
Re: user list
I like passwd -sa
Though this may only work on trusted systems. I know it does not work on 11.00 systems.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com