I've noticed recently that when I run yumex, or most any other app that needs root permission, from the launcher menu, I am prompted for my user password, instead of the root password. So I assume sudo is being used instead of su.
The "run backend with sudo" is not checked in yumex preferences. If I set the menu item to execute as root and add --root to the yumex call I get the root pasword request but then yumex doesn't start.
It is interesting that my other workstation works differently. That is, yumex doesn't prompt for the root password until it is about to do something that requires root permissison. But it is asking for the root password, not my user password, as are all other apps that require root permissions.
Any ideas how to get apps to require the root password instead of my user password?
Emmett
On Wed, 2014-04-30 at 08:25 -0700, Emmett Culley wrote:
It is interesting that my other workstation works differently. That is, yumex doesn't prompt for the root password until it is about to do something that requires root permissison. But it is asking for the root password, not my user password, as are all other apps that require root permissions.
Any ideas how to get apps to require the root password instead of my user password?
You probably didn't set up that user with yourself in the "wheel" group, which sets up the user for use with sudo, in a simple manner. In windows-parlance, an admin user.
On 04/30/2014 10:27 AM, Joe Zeff wrote:
On 04/30/2014 08:25 AM, Emmett Culley wrote:
Any ideas how to get apps to require the root password instead of my user password?
Take yourself out of wheel.
I was in the users group, but not in the wheel group.
Also, I have all sudoers disabled except for root.
Still, I get prompted for my users password. Something to do with polkit?
Emmett
Emmett Culley wrote:
On 04/30/2014 10:27 AM, Joe Zeff wrote:
On 04/30/2014 08:25 AM, Emmett Culley wrote:
Any ideas how to get apps to require the root password instead of my user password?
Take yourself out of wheel.
I was in the users group, but not in the wheel group.
Also, I have all sudoers disabled except for root.
Still, I get prompted for my users password. Something to do with polkit?
Yes polkit. The curious thing is that polkit default configuration is supposed to work as you describe:
admin user (in wheel) group: allow user password non admin user: require root password
-- Rex
On 05/02/2014 08:42 AM, Rex Dieter wrote:
Emmett Culley wrote:
On 04/30/2014 10:27 AM, Joe Zeff wrote:
On 04/30/2014 08:25 AM, Emmett Culley wrote:
Any ideas how to get apps to require the root password instead of my user password?
Take yourself out of wheel.
I was in the users group, but not in the wheel group.
Also, I have all sudoers disabled except for root.
Still, I get prompted for my users password. Something to do with polkit?
Yes polkit. The curious thing is that polkit default configuration is supposed to work as you describe:
admin user (in wheel) group: allow user password non admin user: require root password
-- Rex
I got it fixed so that I get prompted for root password, but yumex still requires my user password. There are no sudoers rules enabled except root.
What's so special about yumex?
Emmett