Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sudo/oassword promt for administrative tasks in Gnome
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Ryan83518
n00b
n00b


Joined: 05 Apr 2005
Posts: 5

PostPosted: Fri Aug 17, 2007 7:16 pm    Post subject: sudo/oassword promt for administrative tasks in Gnome Reply with quote

I started off using Gentoo about 4 years ago. MOved away from using linux for a while, then over a year ago started using it again but started using Ubuntu. Well since using Ubuntu I've been really happy with the desktop experience, but not a whole lot else. Last week I went ahead and installed gentoo on my laptop and so far things are pretty good. After my third attempt at an install I've got nearly everything working, xorg, gnome, wireless, my touchpad, networking, yada yada. All is good except for the desktop experience when I need to run something as root. I'd like to run those things using sudo, basically using the administration setup that ubuntu uses. If a program needs administrative access, I'd like a prompt like I had in Ubuntu to ask for my password so I can complete the task at hand instead of opening a terminal, and either running sudo from there, or dropping to root and running the app from there.

I'm wondering if there is a guide on how to set such a thing up in Gentoo, or any Gnome desktop for that matter. Any point in the right direction would be helpful as this has been driving me crazy for days and slowing me down on getting things up and running (not really because I can't live without that functionality, but it would be nice to have).
Back to top
View user's profile Send private message
jho
Apprentice
Apprentice


Joined: 24 May 2007
Posts: 153
Location: Jyväskylä, Finland

PostPosted: Fri Aug 17, 2007 9:04 pm    Post subject: Reply with quote

I believe it can be done with a program called gksu (or kdesu for KDE..).
Install it and then run any command with gksu. For example:
Code:
gksu gedit
Back to top
View user's profile Send private message
Ryan83518
n00b
n00b


Joined: 05 Apr 2005
Posts: 5

PostPosted: Sun Aug 19, 2007 12:45 am    Post subject: Reply with quote

ok thanks man. i knew about using that command for accessing graphical programs as root but just not how to get programs in gnome to work like that. turns out i just have to edit the properties of the menu item for each application or command in the menu i want to prompt me for a password. a little bit of extra work but thats gentoo.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum