[ntp:hackers] 4.2.5p203 adds ntpq dumpcfg command

Steve Kostecke kostecke at ntp.org
Mon Aug 24 16:54:34 UTC 2009


Reg Clemens said:

>> On Mon, Aug 17, 2009 at 5:09 PM, Brian Utterback wrote:
>> Why can't it have a full or relative path?
>
>Isnt the wrong question being asked here?
>The configuration file is small.
>Why should it be written to a file at all?
>Why not just let ntpq write it to standard output, and if the user 
>really wants to put it in a file he can capture it.
>
>That solves ALL the security problems of overwriting a file.

One of the main points of being able to dump configuration to a file
is that it allows persistant storage and reuse of remote configuration
_without_ requiring shell access or the overhead of some sort of admin
front end (as in m0n0wall).

-- 
Steve Kostecke <kostecke at ntp.org>
NTP Public Services Project http://support.ntp.org/
Public Key at http://support.ntp.org/Users/SteveKostecke

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the hackers mailing list