** Changed in: gksu (Ubuntu)
Importance: Undecided => Low
Status: New => Invalid
--
gksudo --preserve-env can't keep environment variables
https://bugs.launchpad.net/bugs/207167
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
-
I also see that the variables are preserved when using gksu? This worked
for me, but it seems like the main bug still exists.
--
gksudo --preserve-env can't keep environment variables
https://bugs.launchpad.net/bugs/207167
You received this bug notification because you are a member of Ubuntu
Bugs
I am unclear on this. I need to use gksudo to do something in a script, but
need to preserve the env variables. I am using Hardy. I still see the behavior
noted in the bug.
If this can be cleared up, it would help me.
Thanks,
Daniel
--
gksudo --preserve-env can't keep environment variables
htt
This is already provided by sudo in Hardy. If you want this, please use
"sudo -E" in gksu if --preserve-env is specified. env_reset is a sane
default in sudoers and should be kept.
** Changed in: sudo (Ubuntu)
Status: New => Fix Released
--
gksudo --preserve-env can't keep environment var
here is a solution, use visudo to edit /etc/sudoers file, and change this line
from:
Defaultsenv_reset
to
Defaults!env_reset
and solved this problem.
** Also affects: sudo (Ubuntu)
Importance: Undecided
Status: New
--
gksudo --preserve-env can't keep environment varia
** Attachment added: "example script"
http://launchpadlibrarian.net/12896057/test.tar.gz
--
gksudo --preserve-env can't keep environment variables
https://bugs.launchpad.net/bugs/207167
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.