Exporting X permissions when su'ing to another user...

Reinhard Tartler siretart at gmail.com
Thu Dec 1 18:52:29 GMT 2005


On 12/1/05, Ben Kahn <xkahn at zoned.net> wrote:
> ...or bug 20345
>
> http://bugzilla.ubuntu.com/show_bug.cgi?id=20345
>
> Although sudo is the preferred method in Ubuntu for privileged users to
> gaim root privileges, there are times when su is a better choice.  (For
> example, when running as another user.)

Whats the problem with 'sudo -i -u joe' to get a shell as user joe?
X11 apps do work this way.



--
regards,
    Reinhard



More information about the ubuntu-devel mailing list