LinuxQuestions.org
Register a domain and help support LQ
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 03-10-2004, 04:58 PM   #1
cactus-bob
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Rep: Reputation: 0
sudoers file


In trying to get a script to run as root we've added the users allowed in to the /etc/sudoers file. Does anyone know where and how to add the timeout_timestamp entry to allow a longer period of time between password entries?
 
Old 03-10-2004, 06:39 PM   #2
lobo78
Member
 
Registered: Oct 2003
Location: Wyoming
Distribution: Gentoo, Ubuntu, FreeBSD
Posts: 46

Rep: Reputation: 15
Try this:

At the top of your /etc/sudoers file (right before you user specifications) add in a line like this:

Defaults:<your username> timestamp_timeout=<how many minutes you want>

so, for example:

Defaults:jim timestamp_timeout=30
 
Old 03-11-2004, 12:24 PM   #3
cactus-bob
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks that did it!! since there is only two of us that have access to this system we left out the user name and seems to work great. Thanks again
 
  


Reply


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
I deleted /etc/sudoers and creates a new file call sudoers but now it doesnt for visu abefroman Linux - Software 1 11-10-2005 06:03 PM
Entries for sudoers configuration file Hikito Linux - Newbie 5 09-17-2004 01:42 PM
help with sudoers file ogden2k Linux - Security 4 03-11-2003 11:39 AM
Help Editing Sudoers File Rubicone Linux - Newbie 2 05-03-2002 02:50 AM
The Sudoers File Rubicone Linux - Security 0 05-02-2002 07:17 PM


All times are GMT -5. The time now is 01:06 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration