- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- > /etc/utmp
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
10-04-2006 11:41 PM
10-04-2006 11:41 PM
> /etc/utmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2006 11:58 PM
10-04-2006 11:58 PM
Re: > /etc/utmp
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2006 11:59 PM
10-04-2006 11:59 PM
Re: > /etc/utmp
It is a sign of corruption.
See man wtmpfix
for more information on how to fix this.
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2006 12:01 AM
10-05-2006 12:01 AM
Re: > /etc/utmp
from man utmp:
"File utmp contains a record of all users logged onto the system"
However, if this file gets corrupted or overwritten, the who command will show incorrect information.
See other threads:
For example:
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1048235
Also, your profiles shows:
0 points allocated to 36 answers !!
Please read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2006 12:04 AM
10-05-2006 12:04 AM
Re: > /etc/utmp
Zeroing out the utmp file solves the problem -- who no longer reports any history at all. All new logins will be accurate. The apps are probably just fine -- there is likely no reason that these apps should be looking at who history. Now startup scripts or apps that require some sort of survey of active users may get confused, but utmp corruption is so common, these apps will have problems on all platforms.
Some sysadmins will manually cleanup utmp by using the very cryptic fwtmp command. They will use it to format the binary utmp data, edit the result get rid of the old outdated entries and then fwtmp the result back into utmp. This is usually be done during somewhat idle periods.
So your system should be fine and new logins will have accurate login/logout pairs with accurate IP / hostname information. And note that a reboot will automatically clear the utmp file.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2006 12:16 AM
10-05-2006 12:16 AM
Re: > /etc/utmp
Many Apologise to all who have been helpful