- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disable NTP - Server Only
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
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
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
тАО07-20-2009 03:58 AM
тАО07-20-2009 03:58 AM
Does anybody know how I can disable NTP server functionality only within HPUX 11.23 / 11.31 ?
For security audit purposes I need to have the NTP client enabled but the NTP server disabled. Is there a way to do this?
I've looked through various documents for hpux xntpd but cannot see a specific option.
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2009 04:13 AM
тАО07-20-2009 04:13 AM
Re: Disable NTP - Server Only
First NTP isn't a security risk.
Edit '/etc/rc.config.d/netdaemons' and set the NTPDATE_SERVER to null; set XNTPD=0 and set XNTPD_ARGS to null.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2009 04:19 AM
тАО07-20-2009 04:19 AM
Re: Disable NTP - Server Only
edit this file : /etc/rc.config.d/netdaemons
export NTPDATE_SERVER=
export XNTPD=0
export XNTPD_ARGS=
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2009 04:20 AM
тАО07-20-2009 04:20 AM
Re: Disable NTP - Server Only
I have to agree 100% with JRF. ntp is not a security risk, not at all.
You can cause more problems by disabling time synchronization.
All daemons have control files in /etc/rc.config.d
You can set the start variable to 0 to stop the daemon from starting.
I have serious questions about the security audit that has been done in this case.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2009 04:23 AM
тАО07-20-2009 04:23 AM
Re: Disable NTP - Server Only
I dont want to disable NTP outright.
I need to stop NTP from acting as a server.
I still need it to sync. I dont want other clients to be able to sync with it.
hope this make sense
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2009 04:30 AM
тАО07-20-2009 04:30 AM
Re: Disable NTP - Server Only
yes it make senc, its a normal procedure if you like to remove ntp server from your network and migrate it to other NTP server.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2009 05:01 AM
тАО07-20-2009 05:01 AM
Re: Disable NTP - Server Only
>>I need to stop NTP from acting as a server.
I still need it to sync. I dont want other clients to be able to sync with it.<<
How the clients will sync with server if you have stopped the NTP server process? It is not possible.
If you have another NTP server then configure the clients to sync with that one and disable NTP server services on this one.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2009 04:25 PM
тАО07-20-2009 04:25 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2009 05:11 AM
тАО07-21-2009 05:11 AM
Re: Disable NTP - Server Only
restrict default ignore
restrict 127.0.0.1
restrict your.ntp.server
Maybe it's enough to not allow peers to modify your time with:
restrict 1.2.3.4 mask 255.255.255.0 nomodify
Check the ntp documentation for more detail but take care about the different implementations of "restrict" in NTP v3 (on HP-UX) and NTP 4.x!
My 2 cents,
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2009 09:17 AM
тАО07-21-2009 09:17 AM
Re: Disable NTP - Server Only
Armin's statements will work .
The documentation for ntp access control is here
http://www.eecis.udel.edu/~mills/ntp/html/accopt.html
>Maybe it's enough to not allow peers to modify your time with:
>restrict 1.2.3.4 mask 255.255.255.0 nomodify
nomodify will prevent any packets coming from that subnet from modifying this client's time or settings. Queries will be permitted .
The restrict is done by numeric ip address.
restrict 168.24.0.0 mask 255.255.0.0 noquery
Will prevent any client on this subnet from visting this time server for time stamps and status information but a time server on this subnet will be allowed to update it.
Mike