sudo and TTY=pts/1
tomh0665 at gmail.com
Mon Jun 7 10:42:12 UTC 2010
On Mon, Jun 7, 2010 at 6:02 AM, Leander Jedamus <ljedamus at googlemail.com> wrote:
> I don't know if this is wanted behaviour...
> In a terminal I sudo and have to provide my password. So far so good.
> But when I close the terminal window and
> start another (I think with the same pts) and sudo again, I don't have
> to provide a password.
> Is that normal?
Yes. The time of entry of the password to sudo is saved and you then
have a 15-minute (by default) time-period during which you can re-use
sudo without entering a password.
More information about the ubuntu-users