You are not logged in.

#1 2020-09-01 12:43:08

showipatlogon
Member
Registered: 2020-09-01
Posts: 5

Doesn't prompt to change password.

Hi,

   I've decided to manually set an account called user to expire so that it prompts to change the password at next login, and change the days between password change to 60 as well.

$ chage -l user

Last password change.       : password must be changed
Password expires                : password must be changed
Password inactive               : password must be changed
Account expires                   : never
Minimum number of days between password change.   : 0
Maximum number of days between password change.  : 60
Number of days of warning before password expires.    : 7

... But nothing happens after logging out and logging back in.  It doesn't prompt to anything and logs in as usual.

Those the installed packaged by pacstrap

base base-devel linux linux-firmware man-db man-pages texinfo grub efibootmgr vim iwd broadcom-wl go git wget openssh neofetch

Did i miss a package i need to install to make this happen?  Any suggestions would be greatly appreciated.

Thx !

Offline

#2 2020-09-01 12:57:56

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: Doesn't prompt to change password.

Not an installation issue, moving to Newbie Corner.

Offline

#3 2020-09-01 14:29:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,734

Re: Doesn't prompt to change password.

How exactly do you log in?
pam_unix.so should™ deny the login, but is maybe not invoked in the login process.

Offline

#4 2020-09-01 16:58:56

loqs
Member
Registered: 2014-03-06
Posts: 19,047

Re: Doesn't prompt to change password.

See https://bugs.archlinux.org/task/65819#comment192031 the addition of support for systemd-home broke detection of expired passwords.
The ability to change the expired password at login is also broken see https://bugs.archlinux.org/task/61843.

Offline

#5 2020-09-01 21:15:24

showipatlogon
Member
Registered: 2020-09-01
Posts: 5

Re: Doesn't prompt to change password.

Thx loqs.  I checked the links you gave and I will have to let it go until they found a fix. smile

Offline

#6 2020-09-01 21:53:17

loqs
Member
Registered: 2014-03-06
Posts: 19,047

Re: Doesn't prompt to change password.

You can achieve it with just config changes provided you do not need systemd-homed.
Add a password entry to /etc/pamd.d/login

password   include      system-local-login

Use the /etc/pamd.d/system-auth without systemd-homed from https://bbs.archlinux.org/viewtopic.php … 5#p1921895

Offline

Board footer

Powered by FluxBB