Re: Tired of being asked for a password for "su"? Arch has the solution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Mar 3, 2010 at 9:06 AM, Mauro Santos <registo.mailling@xxxxxxxxx> wrote:
>> Yes, same answer, you get owned. In fact, even with a password
>> required, the "5 minute grace window" for sudo does you in - some bad
>> guy just keeps trying to sudo, until you do it legitimately, thereby
>> allowing it freely for 5 minutes, and then he's got root.
>
> Isn't it possible to lock that to specific consoles with
> "Defaults tty_tickets" in /etc/sudoers ? I guess that with the 5 min.
> grace window will give a good balance between annoyance and security.

That's a nice feature, but there's still a hole in it. Consider the
case where you run sudo, close the window, and within the next 5
minutes something else allocates a PTY. It's likely to get the one you
just closed, with your ticket still good for it.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux