I've been using Lion since its release, and I noticed today, for the first time, that Terminal did not prompt me for a password when I typed in a
sudo command, if I close and reopen Terminal within the five-minute window, but wait longer than five minutes after reopening the application to enter another
Is it being cached somewhere as a result of Lion's new "remember the state of the application" feature? Can I turn off this setting? It seems rather insecure.
I've also tried using the Command + Option + Q combination, as well as exiting Terminal before quitting the application, to no avail (also within the five minute timeout window).
For the record, I don't recall seeing this behaviour before I updated to 10.7.1, but I may be wrong.
Can anyone else replicate this for me and confirm my suspicion, before I log a bug with Apple?
EDIT: Apparently my question isn't clear. I want to know if this is normal, or a bug:
sudocommand. I am prompted for a password.
Close Terminal before
sudotimeout takes effect (within five minutes).
Open Terminal again, and wait more than five minutes before issuing
sudocommand. I am not prompted for a password.