Conflicting design issue for hide-admin-tools-to-users
cjwatson at ubuntu.com
Tue Jan 3 16:17:25 GMT 2006
On Wed, Jan 04, 2006 at 03:04:34AM +1100, Anand Kumria wrote:
> On Fri, 25 Nov 2005 11:59:08 +0100, Martin Pitt wrote:
> > Carlos Ribeiro [2005-11-25 8:22 -0200]:
> >> My first guess was 'why not patch sudo for some extra option', but you're
> >> right, it would mess with someone's else code.
> > I already did - I added the -t option to test whether a command can be
> > executed without actually doing it.
> Why not just use 'sudo -l' which lists the set of commands which can be
> executed by a user. While that does log the fact that sudo (with
> command=list) was run, that isn't a "failure"
'sudo -l' requires a password in the default configuration, unless
you've run sudo recently, so the desktop can't call it automatically.
Colin Watson [cjwatson at ubuntu.com]
More information about the ubuntu-devel