- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: RH Linux Logon user history
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
тАО10-15-2007 04:11 AM
тАО10-15-2007 04:11 AM
My manager gave me a task: create a daily report of all logon/logoff user list and send to him. The requirements let me list in whole day, all users who once logon and logoff the system, list their time and terminals.
As we know, the command ' who or who -u ' only list at that time, the current system users. If someone already log out, it doesnтАЩt be listed at that time. It is Not a whole day information.
Would you please kindly tell me how to do it. Any answers will be very appreciated. If someone already have corresponding script, that's good for reference.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2007 06:12 AM
тАО10-15-2007 06:12 AM
Re: RH Linux Logon user history
I wanna list all the users who once logon the system in one day. Include, time and terminal informations.
Who could help me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2007 06:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2007 06:33 AM
тАО10-15-2007 06:33 AM
Re: RH Linux Logon user history
Thank you very much for your fast reply. I will check " last " soon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2007 07:26 AM
тАО10-15-2007 07:26 AM
Re: RH Linux Logon user history
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2007 07:34 AM
тАО10-15-2007 07:34 AM
Re: RH Linux Logon user history
Thank you very much for your "ac -p" suggestion.
I think, "last -a " pretty match my requirements. It include: username, tty, logon time, logout time and from which terminal etc more informations.
So, I have been writting the script base on the command last -a.
But anyway, thanks again for your kindly help
-Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2007 08:20 AM
тАО10-15-2007 08:20 AM
Re: RH Linux Logon user history
Please see this link:
http://www.redhatmagazine.com/2007/02/20/how-do-i-use-the-faillog-program-to-track-failed-login-attempts/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2007 08:30 AM
тАО10-15-2007 08:30 AM
Re: RH Linux Logon user history
The informations of failed login attempts is very usful to the report, I will add it into script.
thanks again
-Gary