#%PAM-1.0
auth include common-auth
account include common-account
password include common-password
session required pam_loginuid.so
session include common-session
contents after editing:
#%PAM-1.0
auth include common-auth
-auth optional pam_kwallet5.so
account include common-account
password include common-password
session required pam_loginuid.so
session include common-session
-session optional pam_kwallet5.so auto_start
i forgot to mention you must chose same pwd for the wallet as the user one.
i checked this works well with 42.2 and 42.3.
today for the pionner using 42.2 and framework 5.37 and plasma 5.10.5 this works no more. updating to framework 5.38 and plasma 5.10.95 does not solve problem.
I
I’m pretty sure that the default wallet is in fact called “kdewallet”, consistently.
If you create an additional one, it may be called “kwallet” by default though, haven’t checked.
Also it should be noted that modifying the PAM configuration is not necessary any more in Tumbleweed (and therefore also Leap 15 and up).
This is done now automatically when you install pam_kwallet5.
And actually the current package modifies the “common” PAM files, which works for all display managers, not just sddm.
If the type value from the list above is prepended with a - character
the PAM library will not log to the system log if it is not possible
to load the module because it is missing in the system. This can be
useful especially for modules which are not always installed on the
system and are not required for correct authentication and
authorization of the login session.