[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35996: User account password got locked when booting old generation
From: |
pelzflorian (Florian Pelz) |
Subject: |
bug#35996: User account password got locked when booting old generation |
Date: |
Sat, 1 Jun 2019 16:58:34 +0200 |
User-agent: |
NeoMutt/20180716 |
On Sat, Jun 01, 2019 at 07:52:38AM +0200, pelzflorian (Florian Pelz) wrote:
> I wonder what would change /etc/shadow.
>
If the error occurred on common non-Guix distros, it hopefully would
have been fixed before, maybe. Of course Guix recreates /etc/shadow
much more frequently.
Guix appears to add shadow files atomically in gnu/build/accounts.scm.
I do not know if there could have been an error reading the old shadow
file, e.g. because it is locked or something?
The elogind source code in src/basic/user-util.c contains code for
locking /etc/shadow, with a comment that explains why its lckpwdf is
implemented differently from shadow-utils.
AccountsService appears to only be usable for reading /etc/shadow, not
for writing it, contrary to what the Guix manual claims (??). For
writing passwords, gnome-control-center does not use AccountsService,
it calls /usr/bin/passwd directly in its source code in
panels/user-accounts/run-passwd.c.
Regards,
Florian
- bug#35996: User account password got locked when booting old generation, pelzflorian (Florian Pelz), 2019/06/01
- bug#35996: User account password got locked when booting old generation,
pelzflorian (Florian Pelz) <=
- bug#35996: User account password got locked when booting old generation, Ludovic Courtès, 2019/06/01
- bug#35996: User account password got locked when booting old generation, pelzflorian (Florian Pelz), 2019/06/02
- bug#35996: User account password got locked when booting old generation, Ludovic Courtès, 2019/06/02
- bug#35996: User account password got locked when booting old generation, pelzflorian (Florian Pelz), 2019/06/02
- bug#35996: User account password got locked when booting old generation, Ludovic Courtès, 2019/06/02
- bug#35996: User account password got locked when booting old generation, pelzflorian (Florian Pelz), 2019/06/03
- bug#35996: User account password got locked when booting old generation, Gábor Boskovits, 2019/06/03
- bug#35996: User account password got locked when booting old generation, pelzflorian (Florian Pelz), 2019/06/03
- bug#35996: User account password got locked when booting old generation, Ludovic Courtès, 2019/06/03
- bug#35996: User account password got locked when booting old generation, pelzflorian (Florian Pelz), 2019/06/03