/etc/ntp -- What is this directory used for?

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Jun 21 00:06:46 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Modulok wrote:
> The ntpd(8) manpage states that its config file is looked for at
> /etc/ntp.conf, by default. Drift files are stored in  /etc/ntp.drift,
> but this is overridden to be to be /var/db/ntpd.drift, as specified by
> the /etc/defaults/rc.conf file. Keys are stored at /etc/ntp.keys by
> default.
> 
> Question: If that is the case, what is the directory /etc/ntp used
> for? It is only readable by root, so it must be some manner of
> sensitive information...

Cryptographic keys for NTPv4 authentication.  See ntp-keygen(8) --
although that manual page misleadingly talks about '/usr/local/etc' which
is  incorrect on FreeBSD where ntpd is part of the base system.

Although I generally use /etc/ntp/ntp.keys for the password style stuff
instead of /etc/ntp.keys 

	Cheers,

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGeb+88Mjk52CukIwRCNyBAJ9P4MV4E92z9TMFVQ0wKZPi85pVeQCcDUMd
l6yvNjHFk3q0nTtwAPiNfk8=
=W3Tk
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list