LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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


Hi,

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).

help!

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

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


Reply



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 12:50 AM
Sudo/gksudo failure bodach Ubuntu 5 12-13-2009 07:58 AM
gksudo vs. sudo strangeness CJS Programming 5 05-15-2008 06:47 PM
gksudo problems FBorges22 Linux - Software 1 09-07-2007 04:59 PM
gksudo nautilus ronbrooks Linux - Software 8 02-02-2007 02:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:44 AM.

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