su, /etc/environment, PAM
Moin
Ich möchte gern erreichen, dass meine Variablen in /etc/environment auch
nach einem "su -" gesetzt sind. Mir schien dafür folgendes aus
/etc/pam.d/login ganz passend:
--------------------------- snip --------------------------------
# This module parses /etc/environment (the standard for setting
# environ vars) and also allows you to use an extended config
# file /etc/security/pam_env.conf.
# (Replaces the `ENVIRON_FILE' setting from login.defs)
auth required pam_env.so
--------------------------- snip --------------------------------
und habe es deshalb in die /etc/pam.d/su übernommen. Allerdings hat das
keinen Effekt. :-( Wie macht man es richtig?
--
Gruß
Rüdiger
__________________________________________________________________
Gesendet von Yahoo! Mail - http://mail.yahoo.de
Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de
Reply to: