antiX-forum Forum Index antiX-forum
Forum for users of antiX linux. "Mean and Lean"
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

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!

gksu

 
Post new topic   Reply to topic    antiX-forum Forum Index -> Development
View previous topic :: View next topic  
Author Message
OU812



Joined: 29 Sep 2007
Posts: 456
Location: California

PostPosted: Wed Jul 02, 2008 5:20 pm    Post subject: gksu Reply with quote

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:

Code:
gksu -g command

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
View user's profile Send private message
Jerry



Joined: 12 Sep 2007
Posts: 150

PostPosted: Wed Jul 02, 2008 9:00 pm    Post subject: Reply with quote

Onthego is this, right?
http://www.mepis.org/docs/en/index.php/Onthego
That makes me wonder if mesm is an alias or older name for msystem, or something like that. Just guessing...
Back to top
View user's profile Send private message
eriefisher



Joined: 07 Oct 2007
Posts: 676
Location: Canada's South Coast

PostPosted: Wed Jul 02, 2008 9:51 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
OU812



Joined: 29 Sep 2007
Posts: 456
Location: California

PostPosted: Thu Jul 03, 2008 2:04 am    Post subject: Reply with quote

@ 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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    antiX-forum Forum Index -> Development All times are GMT + 3 Hours
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

Community Chest


Powered by phpBB
Hosted by FreeForums.org