[Pkg-shadow-devel] Bug#892097: passwd: useradd -D -s /bin/bash has no effect on Jessie

Bálint Réczey balint at balintreczey.hu
Fri Dec 27 22:40:13 GMT 2019


Control: fixed -1 1:4.5-1

Hi Martin,

Martin Steigerwald <martin.steigerwald at proact.de> ezt írta (időpont:
2018. márc. 5., H, 14:39):
>
> Package: passwd
> Version: 1:4.4-4.1
> Severity: normal
>
> Dear maintainers,
>
> On Debian Jessie useradd -D -s /bin/bash has no effect. In Debian Sid
> with passwd 1:4.5-1 this works again, so this is likely an upstream issue.

Marking as fixed per the original observation. Since this is not a
high severity but it is not likely that it will be fixed in Jessie
which is now oldstable.

Thanks,
Balint

>
> I have:
>
> % useradd -D
> GROUP=100
> HOME=/home
> INACTIVE=-1
> EXPIRE=
> SHELL=/bin/sh
> SKEL=/etc/skel
> CREATE_MAIL_SPOOL=no
>
> I do:
>
> % useradd -D -s /bin/bash
> (no output)
>
> I still have:
>
> % useradd -D
> GROUP=100
> HOME=/home
> INACTIVE=-1
> EXPIRE=
> SHELL=/bin/sh
> SKEL=/etc/skel
> CREATE_MAIL_SPOOL=no
>
> % grep SHELL /etc/default/useradd
> # The SHELL variable specifies the default login shell on your
> SHELL=/bin/sh
>
> Workaround is to edit /etc/default/useradd:
>
> % grep SHELL /etc/default/useradd
> # The SHELL variable specifies the default login shell on your
> SHELL=/bin/bash
>
> % useradd -D
> GROUP=100
> HOME=/home
> INACTIVE=-1
> EXPIRE=
> SHELL=/bin/bash
> SKEL=/etc/skel
> CREATE_MAIL_SPOOL=no
>
> 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/password-empty:
>   passwd/user-uid:
>   passwd/user-fullname:
>   passwd/md5: false
>   passwd/username:
>   passwd/username-bad:
> * passwd/make-user: false
>   passwd/title:
>   passwd/shadow: true
>   passwd/password-mismatch:
>



More information about the Pkg-shadow-devel mailing list