- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- General
- >
- xntpd writing to wtmpx instead of wtmps
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
01-20-2021 06:24 AM
01-20-2021 06:24 AM
xntpd writing to wtmpx instead of wtmps
Hello all, I'm hoping someone can help me.
I'm currently on HP-UX B.11.31 and I'm having trouble determining how to configure xntpd such that it logs it's activity (not the log file /var/adm/xntpd.log) to wtmps instead of wtmpx as it's confusing my auditing scripts. I don't see an option in /etc/ntpd.conf for that and can't seem to find out how to do it anywhere.
Any help would be greatly appreciated.
Thanks!
PS: Cross posted also on the Integrety Server Board.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-21-2021 12:31 AM
01-21-2021 12:31 AM
Re: xntpd writing to wtmpx instead of wtmps
OK.... so can you explain *why* xntpd (a daemon for synchronising the system date/time) would *ever* want to write to wtmps (a log file that contains data on user logins)? The question makes no sense - it's like asking "where's the gas (petrol) cap on my Tesla?"
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-21-2021 02:16 AM
01-21-2021 02:16 AM
Re: xntpd writing to wtmpx instead of wtmps
Greetings,
Files such as wtmp, wtmps and wtmpx are logged as part of "Accounting" software. While I am not sure what xntpd is logging in wtmpx, it is better to let the processes/system-calls write to their default respective logs and you modify your script instead.
All the best!
PS: I will post the same on the other thread as well.
I am a HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-21-2021 01:04 PM
01-21-2021 01:04 PM
Re: xntpd writing to wtmpx instead of wtmps
Thank you for your reply.
I'm at a loss as to why it's writing to anything other than the logfile and we specify where that should be (and it's not wtmpx) so I didn't know if there was somewhere else I can look to address this or if this is something in xtnpd, each time it has to change the time, it writes a record to wtmpx.
So confused.
- Tags:
- you fgor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-21-2021 01:05 PM
01-21-2021 01:05 PM
Re: xntpd writing to wtmpx instead of wtmps
I agree and there's nothing in the audit scripts that would tell xntpd to write to wtmpx so I am at a loss.
I'll keep digging but thanks for your reply.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP