bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add shopt to enable writing history to syslog at runtime


From: Chet Ramey
Subject: Re: [PATCH] Add shopt to enable writing history to syslog at runtime
Date: Sun, 20 May 2018 15:19:38 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 5/18/18 5:34 AM, Luca Boccassi wrote:
> Currently writing history to syslog can be enabled at compile time by
> editing config-top.h and rebuilding.
> To allow more flexibility, and to allow users of distributions to
> enable this feature at runtime without having to rebuild bash, add a
> "syslog" shopt.
> To maintain backward compatibility keep using SYSLOG_HISTORY as before
> to enable logging to syslog unconditionally.

There is already code to implement equivalent functionality in the devel
branch. It, like SYSLOG_HISTORY, has to be enabled at compile time. I
don't like the feature in general -- it's an invasion of privacy -- and
I don't think it needs to be any easier to enable.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]