]> granicus.if.org Git - sudo/commit
Store info from stat(2)ing the tty in the tty ticket when tty tickets
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 22 Apr 2010 14:16:18 +0000 (10:16 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 22 Apr 2010 14:16:18 +0000 (10:16 -0400)
commit7d6941a820492aaae07c444ddf4ce7734dbbc2d1
tree7a9fb33aad0d05215132196bc1ff18e27a8df08e
parentf19ffcc6b7f72f66d1c50e48cac1abf21a9db1c2
Store info from stat(2)ing the tty in the tty ticket when tty tickets
are in use.  On most systems, this closes the loophole whereby a user
can log out of a tty, log back in and still have the timestamp be valid.
plugins/sudoers/check.c