Results 1 to 9 of 9

Thread: [SOLVED] Howto: change default timeout (from 5 minutes) in sudo

Threaded View

  1. #1
    arnieboy Guest

    [SOLVED] Howto: change default timeout (from 5 minutes) in sudo

    Some of you might not like the default timeout of 5 minutes after which sudo asks for your password again in a session. To change that do the following:
    Code:
    sudo visudo
    scroll down and add the following line at the end:
    Defaults:user_name timestamp_timeout=10
    1) Change user_name to your actual user name.
    2) Change 10 (in minutes) to anything you wish. A value of -1 will make it infinite (for a single session).
    3) Hit Ctrl-X and then hit Y.
    You are all set!
    Last edited by arnieboy; May 28th, 2006 at 05:55 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •