|
|
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Hi, i've add the system("printenv > /tmp/env.txt"); line to my app and
this is the differences that i've got if i run it with sudo or with
kdesu. I don't know if this can help...
------------ sudo printenv ------------
KDE_FULL_SESSION=true
HOME=/home/testing
_=/usr/bin/sudo
SUDO_COMMAND=./test_app
----------------------------------------
------------ kdesu printenv ------------
KDESU_USER=testing
HOME=/root
_=/usr/bin/kdesu
SUDO_COMMAND=/usr/bin/kdesu_stub -
----------------------------------------
Link: http://www.fltk.org/str.php?L1605
Version: 1.1.7
[ Direct Link to Message ] | |
|
| |