- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: track logins
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
09-11-2002 07:29 AM
09-11-2002 07:29 AM
track logins
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 07:34 AM
09-11-2002 07:34 AM
Re: track logins
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 07:40 AM
09-11-2002 07:40 AM
Re: track logins
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 07:41 AM
09-11-2002 07:41 AM
Re: track logins
Yes in
/etc/utmp -> All users logged in
/var/adm/btmp -> unsuccessful logins
/var/adm/wtmp -> Record of all logins - good & bad
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 07:42 AM
09-11-2002 07:42 AM
Re: track logins
Sorry, I'm a dummy....
/var/adm/wtmp -> Record of all logins & logouts.
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 07:46 AM
09-11-2002 07:46 AM
Re: track logins
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 07:49 AM
09-11-2002 07:49 AM
Re: track logins
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 07:50 AM
09-11-2002 07:50 AM
Re: track logins
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 07:58 AM
09-11-2002 07:58 AM
Re: track logins
Use the /usr/sbin/acct/fwtmp command to write a text file from the binary.
Then you can look it over.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 08:00 AM
09-11-2002 08:00 AM
Re: track logins
Good Luck.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 08:01 AM
09-11-2002 08:01 AM
Re: track logins
If you don't know perl, then you could develop whatever programming/scripting language you are comfortable with.
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 08:01 AM
09-11-2002 08:01 AM
Re: track logins
Try using fwtmp command.
Check following thread.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x16268f960573d611abdb0090277a778c,00.html
thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 08:48 AM
09-11-2002 08:48 AM
Re: track logins
If manipulating the output of last doesn't give you what you're looking for then you may need to write a program that can read the wtmp file. As you've found it's a binary file - the utmp(4) man page gives the file structure.
Alternatively, if you need to have this functionality in the future you could consider using auditing on the login event. You will need to trust your system for this - there's many threads on trusting/auditing.
regards,
Darren.