You are not logged in.

#1 2023-12-08 10:55:37

fabiin
Member
Registered: 2021-07-08
Posts: 11

Gnome keyring: wiki does not reflect recent changes in pam.d/passwd

I order to allow gnome keyring password to be in sync with passwd, the wiki indicate to add a line in `/etc/pam.d/passwd`:

https://wiki.archlinux.org/title/GNOME/ … r_password

But the file is not the same as it is since recent changes :

Wiki version:

#%PAM-1.0

#password	required	pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3
#password	required	pam_unix.so sha512 shadow use_authtok
password	required	pam_unix.so sha512 shadow nullok

Actual version

#%PAM-1.0
auth		include		system-auth
account		include		system-auth
password	include		system-auth

So I'm not sure where to add the gnome keyring line `password    optional    pam_gnome_keyring.so`.
Should I still ad it to the bottom of /etc/pam.d/passwd file  or is it better to add it in `/etc/pam.d/system-auth` since it is now exclusively referenced ?

Thanks for your help

Last edited by fabiin (2023-12-08 10:56:35)

Offline

#2 2023-12-08 13:11:21

seth
Member
Registered: 2012-09-03
Posts: 66,162

Re: Gnome keyring: wiki does not reflect recent changes in pam.d/passwd

The wiki suggests this to automatically change the keyring password when changing the user password so you exclusively want that reference for the passwd module and not every other module that includes system-auth for the password stage.

Offline

#3 2023-12-08 13:18:01

fabiin
Member
Registered: 2021-07-08
Posts: 11

Re: Gnome keyring: wiki does not reflect recent changes in pam.d/passwd

Ok thanks for the clarification !

Offline

Board footer

Powered by FluxBB