You are not logged in.

#1 2011-03-25 05:07:53

allencch
Member
Registered: 2011-03-25
Posts: 118

[SOLVED] Authenticate with the current user instead of root on GNOME

I am currently trying on Arch Linux. And after installing GNOME, I found that, whenever I want to change the administration settings, such as network, shared folders, date and time, users and groups, I am prompted with authentication of the root password. The current user is a wheel user, which is able to use sudo to work properly. What I want is to use the current user for authentication, so that I can lock the root password, just like Ubuntu distribution which does not need to user root password.

Last edited by allencch (2011-03-29 00:18:26)

Offline

#2 2011-03-25 06:24:14

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: [SOLVED] Authenticate with the current user instead of root on GNOME

Run gksu-properties and set "Authentication mode" to sudo.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#3 2011-03-25 06:55:46

allencch
Member
Registered: 2011-03-25
Posts: 118

Re: [SOLVED] Authenticate with the current user instead of root on GNOME

Stebalien, I tried with your method, but the result is still same. Even after restart or logout, I am still prompt with password for root for authentication.

Last edited by allencch (2011-03-25 07:08:25)

Offline

#4 2011-03-25 12:41:10

allencch
Member
Registered: 2011-03-25
Posts: 118

Re: [SOLVED] Authenticate with the current user instead of root on GNOME

I have solved the problem from the wiki. I didn't follow one of the step, because I thought it is not related to the GNOME, since there is no GNOME keyword. To make the authentication using the current user instead of root, one needs to edit
/etc/polkit-1/localauthority.conf.d/50-localauthority.conf
modify the line to
AdminIdentities=unix-group:wheel

Offline

Board footer

Powered by FluxBB