- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: xntpd writing to wtmpx instead of wtmps
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
тАО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
- 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
- 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
- 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
- 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.