- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: user information
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
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
06-02-2008 10:54 PM
06-02-2008 10:54 PM
we have a audit and i need to know all the users info (last access time, group name and weather active or deactivated etc etc) i can get most of the info from /etc/passwd and finger cmd and active/deactive state from SAM.
i was wondering if i can get a script or a shortcut where i can get most of the user info at a time .
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2008 11:14 PM
06-02-2008 11:14 PM
Re: user information
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2008 11:20 PM
06-02-2008 11:20 PM
Re: user information
Please see the thread:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=946795
For sudo, you just have to grep it in the /etc/sudoers file.
grep adnan /etc/sudoers
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 02:07 AM
06-03-2008 02:07 AM
Re: user information
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 02:10 AM
06-03-2008 02:10 AM
Solutionhttp://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1169673
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 02:18 AM
06-03-2008 02:18 AM
Re: user information
This is right from the man page for passwd.
The last line in this post gives the codes for the different status of an account.
Cheers
Kevin
-s name
Display some password attributes associated with the specified name. Superuser privilege and non-trusted mode is required if the files repository is specified. For nisplus, there are no restrictions.
The format of the display will be:
name status mm/dd/yy min max warn
or, if password aging information is not present
name status
where status PS=passworded; LK=locked; and NP=no password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 02:25 AM
06-03-2008 02:25 AM
Re: user information
-x
Display extended information about selected users. This extended information includes home directory, login shell and password aging data, each on its own line. Password information consists of password status (PS for valid password, LK for locked and NP for no password) and, if a password is present, date of last change, required number of days between changes, and number of days allowed between changes. In the case of non-trusted systems, the date of last change will be the latest Thursday since the change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2008 01:37 AM
06-04-2008 01:37 AM
Re: user information
Other easy way is to Customize sam settings as per ur requirement. I just custamised it and was easily able to populate my excel sheet.
U can customize the setting by going to sam - Accounts for Users and Groups -> Users -> column editor .
And then edit as per ur requirement.
....
I wish I could extend the sam view window so that I could copy all info at once, but then its fine..it solved my purpose. But would really appreciate if someone could tell me how to capture SAM output from background or atleast increase the size of SAM view
pls check the attachment