[sudo-users] sudo not prompting for password across different sessions

Anoop Saldanha poonaatsoc at gmail.com
Tue Jul 20 11:44:12 EDT 2010


On Tue, Jul 20, 2010 at 4:57 PM, Todd C. Miller
<Todd.Miller at courtesan.com>wrote:

> In message <AANLkTilKDWBk7vYpNwrsr5Xl-THGjFD6LM6tKPNTdZl0 at mail.gmail.com>
>        so spake Anoop Saldanha (poonaatsoc):
>
> > I am running 2 versions of slackware.  12 and 13.1.  In both the boxes,
> if I
> > open a terminal session, and type
> >
> > sudo ls /root
> >
> > it would ask me for a password.  I enter the password and I get the ls
> > results.  Immediately I open a fresh(new) terminal and I again type sudo
> ls
> > /root.  But this time it doesn't ask me for a password.
> >
> > For every new session shouldn't sudo ask me for a password?  As in, isn't
> > sudo for one session specific to that session.
>
> By default, sudo uses a single time stamp file per user.  You can
> make that per-tty with a line like this in sudoers:
>
> Defaults tty_tickets
>
>  - todd
>

Works now.  Thanks

-- 
Regards,
Anoop Saldanha



More information about the sudo-users mailing list