Another reason to prefer a real root over sudo

Karl Auer kauer at biplane.com.au
Mon Feb 2 13:17:17 UTC 2009


On Mon, 2009-02-02 at 08:01 -0500, Bart Silverstrim wrote:
> Why not open a terminal and sudo to yourself then sudo synaptic?

Because the account that's active can't sudo.

However "su - me" should still work, followed by sudo synaptic (or
gksudo synaptic).

Might have to set the DISPLAY variable first: "export DISPLAY=:0.0"

Haven't tried this. There might be xauth issues too.

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)                   +61-2-64957160 (h)
http://www.biplane.com.au/~kauer/                  +61-428-957160 (mob)

GPG fingerprint: 07F3 1DF9 9D45 8BCD 7DD5 00CE 4A44 6A03 F43A 7DEF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090203/8a34d341/attachment.sig>


More information about the ubuntu-users mailing list