-
-
Notifications
You must be signed in to change notification settings - Fork 266
Closed
Description
On Debian GNU/Linux 11.8 (Bullseye) sudo (asking for password) logs its start timestamp in /var/log/sudo.log:
Nov 8 13:27:35 2023 : opty : TTY=pts/10 ; PWD=/home/opty ; USER=root ; COMMAND=/bin/bash -c 'tail /var/log/{auth,sudo}.log'
Nov 8 13:27:40 2023 : opty : TTY=pts/10 ; PWD=/home/opty ; USER=root ; COMMAND=/bin/bash -c 'tail /var/log/{auth,sudo}.log' ; EXIT=0
but the actual command start timestamp in /var/log/auth.log:
2023-11-08T13:27:40.745588+01:00 kiwi sudo 1259508 - - opty : TTY=pts/10 ; PWD=/home/opty ; USER=root ; COMMAND=/bin/bash -c 'tail /var/log/{auth,sudo}.log'
2023-11-08T13:27:40.751619+01:00 kiwi sudo 1259508 - - opty : TTY=pts/10 ; PWD=/home/opty ; USER=root ; COMMAND=/bin/bash -c 'tail /var/log/{auth,sudo}.log' ; EXIT=0
Bug or feature? :-)
(I had already discovered sooner and wanted to analyze the code first but I would probably have reported much later than even still late now so I'm rather finally going ahead, sorry. :-/)
Metadata
Metadata
Assignees
Labels
No labels