Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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






BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org