Your message dated Mon, 15 Jul 2019 23:21:17 +0200
with message-id 
<CAK0OdpyqtVcyT6HtE=kzzwpwg0zppe-ql5o8cnmtuf5jp0i...@mail.gmail.com>
and subject line Fixed upstream
has caused the Debian Bug report #801981,
regarding pwconv: keeps some lines that should be deleted from /etc/shadow
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
801981: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801981
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: passwd
Version: 1:4.2-3

Hi, I observed a strange behaviour when pwconv should delete several
lines from /etc/shadow.

Here is how to reproduce it:

Starting from a standard installation, add some users, for example:

  root@debian:~# for i in $(seq 10); do adduser --no-create-home 
--disabled-password --gecos '' test$i; done

As expected, they appear in /etc/passwd and /etc/shadow.
Now delete them from /etc/passwd, e.g using vipw.
They are still in /etc/shadow, pwconv should be able to fix that.
However, every other entry will be kept:

  root@debian:~# pwconv
  root@debian:~# grep test /etc/shadow
  test2:*:16724:0:99999:7:::
  test4:*:16724:0:99999:7:::
  test6:*:16724:0:99999:7:::
  test8:*:16724:0:99999:7:::
  test10:*:16724:0:99999:7:::

Even more strange, after a second pwconv only test8 remains.

The same thing happens with grpconv.


All the best,
Christian Sievers

--- End Message ---
--- Begin Message ---
Control: fixed -1 1:4.7-1

--- End Message ---
_______________________________________________
Pkg-shadow-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-shadow-devel

Reply via email to