-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sergei Cherepanov wrote:
Hi I've started to use smart instead of apt recently and i have a problem. Smart works great from console with sudo but when i try to run it with --gui option i get "permission denied" on every rpm operation (under unprivileged user) or "RuntimeError: could not open display" when i start it with sudo. I think i can make smart suid but this will result in a possible security hole. Is there a more gentle way?
I don't know whether it will be enogh for you or not, try $ sux - -c 'smart --gui' You will be prompted to enter root password, though. Regards. - -- ??? _/_/_/ To be Happy! _/_/_/ ??? _/_/ Satoru Matsumoto _/_/ ??? _/ helios_reds@gmx.net _/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFDv/QkXnHIfHE6+z0RAu2gAJsF9OwDUfyirS1j6ivIrngBX4kFswCfZ/yz 1EZuUR1+UNNYIAmEJD91ky4= =Wxjn -----END PGP SIGNATURE-----