This affects me as well. @abone Yes, that's necessary. It doesn't matter where you put it in the file, though. For example:
/etc/pam.d/sudo ===== auth required pam_env.so readenv=1 user_readenv=0 auth required pam_env.so readenv=1 envfile=/etc/default/locale user_readenv=0 @include common-auth @include common-account @include common-session-noninteractive session required pam_env.so readenv=1 ===== -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1301557 Title: sudo not setting environment variables in /etc/environment To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1301557/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
