diff options
author | Christian Breunig <christian@breunig.cc> | 2024-12-01 12:44:10 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-12-01 12:44:10 +0100 |
commit | 24b1d246373a0def45a6e6ba1b0ecabe19fe1d58 (patch) | |
tree | c1c6ec3ad2b96f41657ab5febefc74b89c3b0c90 /src/validators | |
parent | 0808301358262703cb7c8c0b752ba67621a0bfec (diff) | |
download | vyos-1x-24b1d246373a0def45a6e6ba1b0ecabe19fe1d58.tar.gz vyos-1x-24b1d246373a0def45a6e6ba1b0ecabe19fe1d58.zip |
sudo: T6926: remove spam messages to syslog
Right now every command that's executed via op-mode/conf-mode is logged with a
session entry/exit and command execution into syslog.
sudo[1082396]: vyos : TTY=pts/1 ; PWD=/home/vyos ; USER=root ; COMMAND=/usr/bin/mv /tmp/config.boot.1082388 /opt/vyatta/etc/config/archive/config.boot
sudo[1082396]: pam_unix(sudo:session): session opened for user root(uid=0) by vyos(uid=1002)
sudo[1082396]: pam_unix(sudo:session): session closed for user root
sudo[1082399]: vyos : TTY=pts/1 ; PWD=/home/vyos ; USER=root ; COMMAND=/usr/sbin/logrotate -f -s /opt/vyatta/etc/config/archive/lr.state /opt/vyatta/etc/config/archive/lr.conf
sudo[1082399]: pam_unix(sudo:session): session opened for user root(uid=0) by vyos(uid=1002)
sudo[1082399]: pam_unix(sudo:session): session closed for user root
This heavily bloats remote logging services - remove the log entries
Diffstat (limited to 'src/validators')
0 files changed, 0 insertions, 0 deletions