Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jun 2007 01:01:01 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Modulok <modulok@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /etc/ntp -- What is this directory used for?
Message-ID:  <4679BFBD.8010901@infracaninophile.co.uk>
In-Reply-To: <64c038660706201408q578e76f3n8b2fa5b302fd8e41@mail.gmail.com>
References:  <64c038660706201408q578e76f3n8b2fa5b302fd8e41@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4679BFBD.8010901>