You are not logged in.

#1 2009-09-15 02:09:25

msmail000
Member
Registered: 2009-09-15
Posts: 3

How to prompt for root/sudo credentials with Gnome

With other distros like Ubuntu, Gnome prompts for root/sudo authentication whenever applications like Gnome services are run from the Desktop menu.  How do you enable that feature in Arch?  I have tried different variations of gksude -u root, gksudo -S....  Nothing seems to work.

Thanks

Offline

#2 2009-09-15 03:34:13

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: How to prompt for root/sudo credentials with Gnome

firstly you need to have sudo and gksudo installed (if you haven't already).

Offline

#3 2009-09-15 03:45:56

Mardoct
Member
Registered: 2009-08-17
Posts: 208

Re: How to prompt for root/sudo credentials with Gnome

Install sudo and gksudo, then prefix the commands you want with gksu or gksudo IF YOU ARE IN THE SUDOERS FILE.


The human being created civilization not because of willingness but of a need to be assimilated into higher orders of structure and meaning.

Offline

#4 2009-09-15 05:53:42

msmail000
Member
Registered: 2009-09-15
Posts: 3

Re: How to prompt for root/sudo credentials with Gnome

I have gksu installed...  my user id is in the sudoers file "username ALL=(ALL) ALL".  I execute gksu services-admin.  I am prompted for the password.  The Services window appears and the Unlock button is active.  When I depress the Unlock button, nothing happens, all of the available services remain unselectible.

Offline

#5 2009-09-15 06:04:23

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: How to prompt for root/sudo credentials with Gnome

Are you also a member of the stb-admin group?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#6 2009-09-15 06:21:04

msmail000
Member
Registered: 2009-09-15
Posts: 3

Re: How to prompt for root/sudo credentials with Gnome

I added myself to the stb-admin group, logged out and logged back on.... same behavior, the unlock button does not do anything.

Offline

#7 2009-09-15 07:49:12

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: How to prompt for root/sudo credentials with Gnome

The other thing to check is if the stb daemon is running.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#8 2009-09-16 00:17:29

jeff story
Member
Registered: 2009-05-31
Posts: 238
Website

Re: How to prompt for root/sudo credentials with Gnome

This link may help......
I had issues with sudo. gksu, gksudo,  etc until I managed to get everything configured correctly.

http://bbs.archlinux.org/viewtopic.php?id=73208


Check out my website for info on the Arch Linux Installer

Offline

#9 2009-09-16 23:44:25

majiq
Member
Registered: 2009-03-06
Posts: 259

Re: How to prompt for root/sudo credentials with Gnome

msmail000 wrote:

I have gksu installed...  my user id is in the sudoers file "username ALL=(ALL) ALL".  I execute gksu services-admin.  I am prompted for the password.  The Services window appears and the Unlock button is active.  When I depress the Unlock button, nothing happens, all of the available services remain unselectible.

Yeah, that's a known issue with the system tools. No bug report filed for it, though, I don't think. The buttons/services should work properly, though, if you were to try through a regular user and then unlocking after that.

Offline

Board footer

Powered by FluxBB