GNOME panel and sudo

Julien Olivier julo at altern.org
Mon Jul 18 03:49:24 CDT 2005


Le lundi 18 juillet 2005 à 10:05 +0200, Dennis Kaarsemaker a écrit :
> On ma, 2005-07-18 at 09:13 +0200, Julien Olivier wrote:
> > > What do you think ?
> > 
> > If you're running as root (which you aren't in gdm), this should work:
> > su USER -c "sudo -l"
> 
> That still needs the users password...

No, it doesn't. "su USER" won't ask the user's password if you are root,
and neither will "sudo -l". At least, it works for me.

-- 
Julien Olivier <julo at altern.org>





More information about the ubuntu-devel mailing list