Catch22
On Wed, 29 Aug 2007 10:44:20 -0400
"Thomas H. George" <tom at tomgeorge.info> wrote:
> The problem exist with the lenny iso I downloaded last night.
Sigh. Sad, but true. I have just reproduced this problem with the lenny
iso and see why, too. I had assumed that all privileged procedures launched
from the menu used one of the su or sudo wrappers. But I find by grepping
/usr/share/menu/* for "Network admin" that this one is not wrapped. Instead,
the /usr/bin/network-admin binary itself is launched, and apparently that
checks for privs and prompts for the root password (presumably a libsudo
thing). The irksome part is that this completely ignores my gconf settings:
chroot /root sudo -u "${USERNAME}" gconftool-2 -s -t
bool /apps/gksu/sudo-mode true
chroot /root sudo -u "${USERNAME}" gconftool-2 -s -t
bool /apps/gksu/display-no-pass-info false
This is where I get lost. Is there some library built into network-admin
that does a privilege check? If so, what? And what gconf settings does
it obey (if any)? So I have some more poking about to do before I can fix
this.
Ben
--
,-. nSLUG http://www.nslug.ns.ca synrg at sanctuary.nslug.ns.ca
\`' Debian http://www.debian.org synrg at debian.org
` [ gpg 395C F3A4 35D3 D247 1387 2D9E 5A94 F3CA 0B27 13C8 ]
[ pgp 7F DA 09 4B BA 2C 0D E0 1B B1 31 ED C6 A9 39 4F ]
Reply to:
- References:
- Catch22
- From: lists at tomgeorge.info (Thomas H. George)
- Catch22
- From: synrg at sanctuary.nslug.ns.ca (Ben Armstrong)