On 11/11/2007 10:41 AM, Bryen wrote:
> I'm experimenting a little bit with sudo functionality and came across
> this interesting quirk.
>
> If I set up a user who is allowed to launch yast2 and then I run the
> sudo command, yast2 always reverts to yast (ncurses) instead of the GUI
> in GNOME.
>
> if I su into root and run 'yast2', yast2 always comes up in GNOME as the
> GUI.  
>
> Why can't I SUDO a user to get yast2 gui?  I just tested this on my SLES
> server and found the effect was the same as here on my 10.3 box.
> Intentional quirk or an oversight no one noticed before?
>
>   
It is probably an environment difference (probably Display)  If you try
launching yast2 from a console, not from within X, what do you get?  I
just tried it from Console 2, and that is correct.  No DISPLAY
environment variable set, not GUI Yast.

-- 
Joe Morris
Registered Linux user 231871 running openSUSE 10.3 x86_64





-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to