There's already pam_env to set environment variables. And from
pam_env.conf it can expand @{HOME} and presumably ${USER}, which should
be all you need to accomodate desktop stuff that expects XDG_* and

Thank you, this looks great!

Since it can also source a plain key=value file, it can source the same "config file" I source in the script setting up the user-service tree. Thus not creating the need to synchronize two config files.


Have a nice Monday!

Paul

Attachment: OpenPGP_0x71C7C85A2EA30F62.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to