Monitors Won't Sleep in TwinView Mode (Ubuntu Jaunty / gnome-power-manager)

Matthew Gillen me-5yx05kfkO/aqeI1yJSURBw at public.gmane.org
Mon May 4 11:44:41 EDT 2009


BassKozz wrote:
> So in order to initiate vbetool I need to use sudo.  So my assumption is
> that because I am running vbetool as sudo/root I can't get out of it by
> moving the mouse or keyboard because these are actions that are being
> performed as the user.
> Maybe I am way off here, but it's just a guess.  Any idea's on how to run
> vbetool as user to test?

Add the setuid bit:

  chmod u+s /usr/sbin/vbetool

(assuming that /usr/sbin/vbetool is owned by root, this will invoke vbetool
with root permissions, regardless of which user executes the command)

HTH,
Matt





More information about the Discuss mailing list