 |
antiX-forum Forum for users of antiX linux. "Mean and Lean"
|
| Welcome |
|
|
Welcome to antiX-forum.
You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today! |
| View previous topic :: View next topic |
| Author |
Message |
OU812
Joined: 29 Sep 2007 Posts: 456 Location: California
|
Posted: Wed Jul 02, 2008 5:20 pm Post subject: gksu |
|
|
Hello. Anti and I have discussed the possibility of launching apps that require root access using gksu instead of wterm. But there are two issues with this approach:
1. gksu is a little sluggish
2. gksu only seems to require a root password for the first instance
The first problem required some research, but the fix was simple enough:
This is the disable-grab flag and basically allows gksu to be launched in it's own window, which does help.
The second problem is more difficult. I have done extensive research, found numerous threads, and posted at forums of other debian-based distros. The basic fix seems like it should have been to add the line
| Code: | | Defaults timestamp_timeout=0 |
to the top of /etc/sudoers, but it doesn't seem to work.
Also, when trying to fix this problem, I came accross this line in the sudoers file:
| Code: | | onthego ALL=/usr/sbin/mesm |
AFAIK, the user "onthego" hasn't been defined anywhere, and "mesm" does not seem to be installed in /usr/bin/. A quick google search did not yield any info and I couldn't find mesm in synaptic (I got 3 packages when doing a search, but none are installed).
Any ideas?
Thanks.
john
|
|
| Back to top |
|
 |
Jerry
Joined: 12 Sep 2007 Posts: 150
|
|
| Back to top |
|
 |
eriefisher

Joined: 07 Oct 2007 Posts: 676 Location: Canada's South Coast
|
Posted: Wed Jul 02, 2008 9:51 pm Post subject: |
|
|
As far as gksu not requiring a password after the first instance, you can change this in the password prompt window.
open a run dialog and type gksu leafpad (or any app) When the window opens and asks for a password there is a check box "remember password", just uncheck it and it will ask for a password every time you call it.
I always change everything from using the terminal to gksu. I have even altered your cc scripts to use gksu where needed. I prefer the look over a terminal opening everytime I need root access and not closing until I'm done with the app. _________________ eriefisher
------------------------------------------------------------
If I knew It was this good I would have been "Anti" everything long ago.
The first thing a I met was a fly with a buzz......America
|
|
| Back to top |
|
 |
OU812
Joined: 29 Sep 2007 Posts: 456 Location: California
|
Posted: Thu Jul 03, 2008 2:04 am Post subject: |
|
|
@ erie: You're right, it worked. With the box checked, the user is not prompted for a password. This is probably why it felt like /etc/sudoers was being ignored. This just may do the trick - having the box unchecked by default. Perhaps anti will now consider going with gksu instead of wterm. Thanks!
@ jerry: looks like that's it!
john
|
|
| Back to top |
|
 |
|
|
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
|
 Community Chest
|