Package: adduser
Version: 3.141
Severity: serious
Hi:
root@swivel-sid-buildd-amd64-nhes:/srv# addgroup --system _hippotat
root@swivel-sid-buildd-amd64-nhes:/srv# adduser --system foo
root@swivel-sid-buildd-amd64-nhes:/srv# adduser foo _hippotat
err: Please enter a username matching the regular expression
configured via the NAME_REGEX configuration variable. Use the
`--allow-bad-names' option to relax this check or reconfigure
NAME_REGEX in configuration.
root@swivel-sid-buildd-amd64-nhes:/srv# adduser --system foo _hippotat
fatal: Specify only one name in this mode.
root@swivel-sid-buildd-amd64-nhes:/srv#
The first adduser foo _hippotat should work and add the user to the
_hippotat group. We should not be sanitizing the group name this
restrictively for the two-argument case adding user to group
Greetings
Marc
-- System Information:
Debian Release: trixie/sid
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.15-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages adduser depends on:
ii passwd 1:4.17.2-5
adduser recommends no packages.
Versions of packages adduser suggests:
ii cron 3.0pl1-192
ii liblocale-gettext-perl 1.07-7+b1
ii perl 5.40.1-2
pn quota <none>
-- no debconf information