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

Bálint Réczey balint at balintreczey.hu
Fri Mar 23 13:08:25 UTC 2018


2018-03-23 13:05 GMT+00:00 Bálint Réczey <balint at balintreczey.hu>:
> Control: notfound -1 1:4.4-4.1
>
> 2018-03-05 13:42 GMT+00:00 Martin Steigerwald <martin.steigerwald at proact.de>:
>> 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.
>
> Just like the one in Jessie. :-)
>
> ...
>>
>> passwd suggests no packages.
>>
>> -- Configuration Files:
>> /etc/default/useradd [Errno 13] Keine Berechtigung: '/etc/default/useradd'
>
> /etc/default/useradd is missing, it would set SHELL for adduser.

I mean for useradd, but using adduser is recommended anyway.

Cheers,
Balint



More information about the Pkg-shadow-devel mailing list