Control: tags -1 confirmed

On Mon, Mar 17, 2025 at 04:24:18PM +0000, Andrew Sayers wrote:
$ sudo adduser saned scanner
warn: The user `saned' is already a member of `scanner'.
$ sudo journalctl -rn1 SYSLOG_IDENTIFIER=adduser
Mar 17 16:13:42 andrews-2024-laptop adduser[650156]: The user

From a quick look through the source, it appears `log_to_syslog()`
in `/usr/share/perl5/Debian/AdduserLogging.pm` removes everything
starting at the first backtick.

Thanks for spotting this (and for actually taking a look at adduser's new logging features).

I think this unwanted behavior, might be caused by trying to sanitize the data here before passing it to logger(1).

Can you try tweaking the regexp in AdduserLogging.pm Line 149 for a quick diagnosis?

Greetings
Marc

--
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421

Reply via email to