Tollef Fog Heen wrote:
]] Lennart Poettering
a) This really sounds like something to discuss on xdg-devel. This
probably deserves adoption by the desktop environments, much like
.config/user-dirs.dirs. i.e. GNOME should really write that file when
the user reconfigures the locale settings.
b) Maybe this is something to add to the PAM package upstream? That
said, it would be kinda symmetric to /etc/locale.conf which we handle
in systemd, so maybe not?
c) If we maintain it in systemd, maybe still split this off into its own
pam module?
This sounds like you're trying to duplicate pam_env.
pam_env is actually a good example that demonstrates why it is
dangerous to access a user's home as root:
http://web.nvd.nist.gov/view/vuln/search-results?query=pam_env
PAM unfortunately lacks hooks that are executed after the potential
switch to the target user.
cu
Ludwig
--
(o_ Ludwig Nussel
//\
V_/_ http://www.suse.de/
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB
16746 (AG Nürnberg)
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel