README: add link for automatic readme display
[sudo-osx-update.git] / patches / 0004-Disable-tty_tickets-by-default.patch.txt
blob0e463db6ad13fee49c4290a0af8c11bc1b842563
1 Subject: [PATCH] Disable tty_tickets by default
3 On OS X tty_tickets are disabled by default.
4 ---
5  defaults.c     | 2 +-
6  sudoers.man.in | 2 +-
7  2 files changed, 2 insertions(+), 2 deletions(-)
9 diff --git a/defaults.c b/defaults.c
10 index 92e2ed62..64b22745 100644
11 --- a/defaults.c
12 +++ b/defaults.c
13 @@ -401,7 +401,7 @@ init_defaults()
14      def_mail_no_perms = TRUE;
15  #endif
16  #ifndef NO_TTY_TICKETS
17 -    def_tty_tickets = TRUE;
18 +    def_tty_tickets = FALSE;
19  #endif
20  #ifndef NO_LECTURE
21      def_lecture = once;
22 diff --git a/sudoers.man.in b/sudoers.man.in
23 index f106584c..ef168839 100644
24 --- a/sudoers.man.in
25 +++ b/sudoers.man.in
26 @@ -1901,7 +1901,7 @@ will use a file named for the tty the user is
27  logged in on in the user's time stamp directory.
28  If disabled, the time stamp of the directory is used instead.
29  This flag is
30 -\fI@tty_tickets@\fR
31 +\fIoff\fR
32  by default.
33  .TP 18n
34  umask_override
35 -- 
36 1.8.3