I would like to execute a command with administrative privileges, but do not have an access to the tty.
I tried to execute it with the
-A option of the
sudo command and setting the environment variable
To do the same I ran the command as following
env SUDO_ASKPASS=/usr/bin/gksu sudo -A _root-privilage-cmd_
But I got the
gksu window, which would not authenticate me...