Date: Thu, 07 Apr 2005 18:41:16 -0400 From: Tom McLaughlin <tmclaugh@sdf.lonestar.org> To: Adam McMaster <adam@moosoft.net> Cc: freebsd-gnome@freebsd.org Subject: Re: Use sudo for authentication for "Administration" items Message-ID: <1112913676.765.13.camel@compass.straycat.dhs.org> In-Reply-To: <d740edeeef95a877fd01f65d8f0cfa24@moosoft.net> References: <d740edeeef95a877fd01f65d8f0cfa24@moosoft.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2005-04-07 at 17:39 +0100, Adam McMaster wrote: > I use sudo instead of su to execute commands as root, and have the root > account locked (so there is no password for it which can be entered > when prompted by Gnome). This means I can not use anything under the > "Administration" menu in Gnome. > > Is there anything I can do to make Gnome to use sudo for authentication > for the things in that menu? Or do I have to resort to patching / > recompiling some component of Gnome? > > (Make sure replies to the list are CC'd to me, as I'm not subscribed.) > > -- > - Adam McMaster <adam@moosoft.net> Not sure what you could do other than editing the relevant panel menu entries but that doesn't take care of everything. You might bring the idea to the libgnomesu developers. I use sudo too but don't lock down the root account as far as you. I would love a "Run As" option in the right+click menu for panel menu entries based on my sudoers file. For example, I can run ethereal with root privleges through sudo, having Gnome pick that up and be able to select "Run As: root" would be awesome. Been a while since I've used Linux but I don't recall it's usage being much of an emphasis there. Perhaps Gnome developers just haven't thought about adding sudo support? Makes great sense though. Ask/prod them. :) Tom -- BSD# Project - Porting Mono to FreeBSD http://www.mono-project.com/Mono:FreeBSD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1112913676.765.13.camel>