Sudo and gtksu

Sam Sharpe lists.redhat at samsharpe.net
Thu Dec 10 22:37:45 UTC 2009


2009/12/10 davide <lists4davide at gmail.com>:
> Il Thu, 10 Dec 2009 01:17:58 +0000, Sam Sharpe ha scritto:
>
>> If you're on F12, then add yourself to the desktop_admin_r group that
>> will be in /etc/group.
>
> done.
>
>>
>> That allows you to authenticate with your own password to most of the
>> PolKit dialogs, which is pretty much what you are looking for. I believe
>> a simplified GUI for setting this up is in the works, because while the
>> granularity of the old PolKit interface was lovely, it was a bit over
>> the top for most users.
>
> Actually, dialogs ask my root password.
> Shall I delete the root user?
> You got right, I just want to enter my password in PolKit dialogs. (I
> trust Fedora delevoper for the moment, I dont need to change PolKit
> configuration about actions)

Did you logout and login again?

What's the output of `id`?

Mine says:
[sam at samlap ~]$ id
uid=<removed>(sam) gid=100(users)
groups=10(wheel),74(sshd),100(users),485(desktop_user_r),486(desktop_admin_r),498(pulse-rt),501(libvirt)

I definitely get asked for "my" password in the PolKit dialogs after
this change.

--
Sam




More information about the fedora-list mailing list