sudo by default?

Jesse Keating jkeating at redhat.com
Tue May 4 21:07:21 UTC 2010


On Tue, 2010-05-04 at 16:56 -0400, William Jon McCann wrote:
> Hey,
> 
> So what is our view of setting up sudo by default for standalone
> systems?  Probably has some relationship with the systems on which we
> prevent root logins.
> 
> It is worth noting that many of us have to set up ourselves each time
> we install Fedora.  Might be nice if something like it was done by
> default.
> 
> Is sudo the right answer or should we be thinking about pkexec?  Thoughts?
> 
> Thanks,
> Jon

I like sudo, it is a more traditional tool than pkexec.  While it does
remove the need from having to know the root password, it doesn't
obviate the need for a root user who has all the fun.  Sudo would just
get you access to some/all of it.

That said, I think it would be useful in our new user creation that if
we said that this user is the local admin (for whatever that does to
your policykit settings) we also grant them sudo access.  Probably the
best way to deal with this is not to munge the /etc/sudoers file, but
instead ship a config file that allows for a certain group or pk role to
have sudo rights, and then when we create the user(s) we either add them
to that group or role or not.  That way they can pick up sudo rights
without us having to modify the rpm shipped config file.  But now I'm
off in implementation land...

-- 
Jesse Keating
Fedora -- Freedom² is a feature!
identi.ca: http://identi.ca/jkeating
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/desktop/attachments/20100504/ba92b1c8/attachment.bin 


More information about the desktop mailing list