Your message dated Sat, 22 Oct 2022 20:46:25 +0000
with message-id <[email protected]>
and subject line Bug#1021697: fixed in shadow 1:4.12.3+dfsg1-2
has caused the Debian Bug report #1021697,
regarding usermod or chage cannot read a valid account expiration date
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.)
--
1021697: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021697
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: shadow
Version: 1:4.12.3+dfsg1-1
TL;DR https://github.com/shadow-maint/shadow/issues/564
After the shadow update 1:4.11.1+dfsg1-2 -> 1:4.12.3+dfsg1-1, usermod or
chage is unable to set an account expiration date, /etc/shadow is
changed succsesfully. Reproducer:
useradd scruffy -s /bin/bash -c scruffy
echo scruffy:foobar | chpasswd
root@debian:~# grep scruffy /etc/shadow
scruffy:$y$j9T$1fstz5tURDw3e6S.opJnI.$9vHoS3GogDEiw.aT.hc/6fXsDaJKpFucIBP3RaNeVV0:19278:0:99999:7:::
root@debian:~# chage -l scruffy
Last password change : %b %d, %Y
Password expires : never
Password inactive : never
Account expires : %b %d, %Y
root@debian:~# usermod -e 2022-11-12 scruffy
root@debian:~# chage -l scruffy
Last password change : %b %d, %Y
Password expires : never
Password inactive : never
Account expires : %b %d, %Y
root@debian:~# grep scruffy /etc/shadow
scruffy:$y$j9T$1fstz5tURDw3e6S.opJnI.$9vHoS3GogDEiw.aT.hc/6fXsDaJKpFucIBP3RaNeVV0:19278:0:99999:7::19308:
The last second last field contains the account expiration date "19308".
On Debian stable this works:
root@debian:~# chage -l scruffy
Last password change : Oct 13, 2022
Password expires : never
Password inactive : never
Account expires : never
root@debian:~# usermod -e 2022-11-12 scruffy
root@debian:~# chage -l scruffy
Last password change : Oct 13, 2022
Password expires : never
Password inactive : never
Account expires : Nov 12, 2022
root@debian:~# grep scruffy /etc/shadow
scruffy:$y$j9T$dNsOFo7bJ.ptWQnpVg/MO.$xMnvSP2uVI.JpoKa2.PsveCvjKmDi24Fq1QaUg45L9A:19278:0:99999:7::19308:
This seems to have fixed upstream:
https://github.com/shadow-maint/shadow/issues/564
In commit
https://github.com/shadow-maint/shadow/commit/e503fd574b7dbf6b21b1168e20938f0922807916
--- End Message ---
--- Begin Message ---
Source: shadow
Source-Version: 1:4.12.3+dfsg1-2
Done: Balint Reczey <[email protected]>
We believe that the bug you reported is fixed in the latest version of
shadow, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Balint Reczey <[email protected]> (supplier of updated shadow package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 22 Oct 2022 20:23:10 +0200
Source: shadow
Built-For-Profiles: noudeb
Architecture: source
Version: 1:4.12.3+dfsg1-2
Distribution: unstable
Urgency: medium
Maintainer: Shadow package maintainers
<[email protected]>
Changed-By: Balint Reczey <[email protected]>
Closes: 1021697
Changes:
shadow (1:4.12.3+dfsg1-2) unstable; urgency=medium
.
* Cherry-pick upstream patch to fix regression in expiration date handling
(Closes: #1021697)
Checksums-Sha1:
f30f96cfc438a5e963f5d2a94f40f58d68d06a6f 2416 shadow_4.12.3+dfsg1-2.dsc
88dca9945e08acd7f6f039d32f7f12d28f70d183 79516
shadow_4.12.3+dfsg1-2.debian.tar.xz
7eba0c35f14eb06c5a58ac3dba63ea9a2110fd72 8627
shadow_4.12.3+dfsg1-2_source.buildinfo
Checksums-Sha256:
fc90afbc9ab2f559ffd61fe99ff92ab591dce00be58c21e4a1e0a2e6656bebca 2416
shadow_4.12.3+dfsg1-2.dsc
19cd8f4bb7d48d7b22de34f407cbcd99049004af66ee6f04bc3bba768ff27cca 79516
shadow_4.12.3+dfsg1-2.debian.tar.xz
7c0e03bf59a33b280584d78264a9e4600e1be74947e20352f0bfac6f55dec773 8627
shadow_4.12.3+dfsg1-2_source.buildinfo
Files:
695a8734f014450f4068633314f47801 2416 admin required shadow_4.12.3+dfsg1-2.dsc
140ec675e7ac20f42186f9b9575de58f 79516 admin required
shadow_4.12.3+dfsg1-2.debian.tar.xz
89ef0b8806abc3643f5f79824075904b 8627 admin required
shadow_4.12.3+dfsg1-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEI/PvTgXX55rLQUfDg6KBkWslS0UFAmNUStwACgkQg6KBkWsl
S0VTpBAArSPX6AGIO/a+fGqZq007YiNkuwpL0dlbwdFTNckeyCiCFcE73WBQnIdC
0Pe6+4txzInQXbrgVuarl745yf2dJZSJe6VtCqEpyRhoc8Wa2yK6QY/U3qWysOrt
+jX9agCsBIzIDdPyyTpfU1AdxLyIeUotPsDsRYny8IwwkSv9KE8LDv7GcIkO+7fi
FmnCeh8EBX31YwZHGnhB5FuEEbbRvEqR3LmLo9Yqi8KpFERclYVUNyi3cBrFfAs2
vdGMCQhZjiTmGfEsHp1ufEtWFjPjJG8+fNh1SfeAi/j3hdxYBGQpVomX/vhXvYw4
qeEBdhwBpGUMpWDD65RugmKBVg/QCFjtqKP4HTEwjchiVgIo3F849yilIyYtLYx8
lKWgGXBekFvz62lp+4J6ClyRXG6z8v1VGy67gS/cq0++coUzoyzwnRO7vdWgr0Z9
vk4vea9uW4oO6oCcIyZYeVeKPM9/Bk0kjzJheB2K+iroDgfjPUjjQUeP7O7bE+DG
9qk+bYO1EsuvlP2Ht9L27rjQd/kHAZ6mxQlw1VFq2DsscnnfnAAkE8IgcRIPTuHA
ghP6H2wMl52gyqicCeXYNBKwBd2zUzu3Ba7k38c289lIc5gIT02NTL2fKNjMBvnn
qoOWx18Du8TqIir5sFKX/KKu15g3J5zaNUgE2Cs6Rmac1ybki5M=
=GeqS
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Pkg-shadow-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-shadow-devel