Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running sudo version 1.7.4 on Debian squeeze. In this version, unlike some older versions, every pty has to be authorized separately with a password and timeout. In older versions, one password was good for any pty during the timeout period. I'd like to persuade sudo to revert to that older behavior, so that I can use a bunch of xterm windows without having to retype my password continually. Does anyone know how to do this?

share|improve this question
up vote 5 down vote accepted

Have a look at the tty_tickets option

From the man page


If set, users must authenticate on a per-tty basis. With this flag enabled, sudo will >use a file named for the tty the user is logged in on in the user's time stamp directory. If >disabled, the time stamp of the directory is used instead. This flag is on by default

To disable this behaviour set

Defaults ! tty_tickets 

in your sudoers file.

share|improve this answer
Exactly what I needed. Just couldn't find that option amongst the 50 other options available. Thank you! – Norman Ramsey Oct 23 '11 at 4:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.