[Pkg-shadow-devel] Bug#892098: passwd: useradd in Jessie creates user with empty string as shell

Martin Steigerwald martin.steigerwald at proact.de
Mon Mar 5 13:42:01 UTC 2018


Package: passwd
Version: 1:4.4-4.1
Severity: normal

Dear maintainers,

useradd in Jessie creates user with empty string as shell:

% useradd -m emptyshell    
% getent passwd | grep emptyshell
emptyshell:x:4001:4002::/home/emptyshell:

% useradd -D
GROUP=100
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=/bin/bash
SKEL=/etc/skel
CREATE_MAIL_SPOOL=no

useradd from passwd 1:4.5-1 in Debian Sid works correctly.

Thanks,
Martin

-- System Information:
Debian Release: 9.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 4.9.0-6-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages passwd depends on:
ii  libaudit1       1:2.6.7-2
ii  libc6           2.24-11+deb9u1
ii  libpam-modules  1.1.8-3.6
ii  libpam0g        1.1.8-3.6
ii  libselinux1     2.6-3+b3
ii  libsemanage1    2.6-2

passwd recommends no packages.

passwd suggests no packages.

-- Configuration Files:
/etc/default/useradd [Errno 13] Keine Berechtigung: '/etc/default/useradd'

-- debconf information:
  passwd/username-bad:
  passwd/password-empty:
  passwd/username:
  passwd/shadow: true
  passwd/title:
  passwd/user-fullname:
* passwd/make-user: false
  passwd/user-uid:
  passwd/password-mismatch:
  passwd/md5: false



More information about the Pkg-shadow-devel mailing list