Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-24-2011, 04:28 AM   #1
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 219

Rep: Reputation: 27
making gksudo ask for password every time


OS: Ubuntu 10.04
If you were to give gksudo the correct password it would then not ask for the password if you were to open any other application that requires root privileges. Maybe it does this only for a certain time interval(?) after which it starts asking for the password again. I am looking for a way to make gksudo ask for the password each time it is called.

I have noticed that files named .sudo_as_admin_successful & .gksu.lock are created when i used gksudo, but deleting this file has had no effect(gksudo doesn't ask for a password if i delete it).


Last edited by austinium; 01-24-2011 at 05:29 AM. Reason: added details
Old 01-24-2011, 08:37 AM   #2
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
Edit /etc/sudoers
sudo visudo
Add or change this line to
Defaults:USER_NAME timestamp_timeout=0
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] gksudo nautilus error mfdc1969 Ubuntu 1 08-24-2010 01:50 AM
Sudo/gksudo failure bodach Ubuntu 5 12-13-2009 08:58 AM
gksudo vs. sudo strangeness CJS Programming 5 05-15-2008 07:47 PM
gksudo problems FBorges22 Linux - Software 1 09-07-2007 05:59 PM
gksudo nautilus ronbrooks Linux - Software 8 02-02-2007 03:00 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration