[sudo-users] Cache password at login?

Pepijn Schmitz pepijn.schmitz at gmail.com
Tue Dec 8 18:05:16 EST 2009


Hi everyone,

I have a question that I haven't been able to find the answer to on the
Internet or in the sudo manual: is it possible to cache the password when I
log in?

I frequently log on to my Ubuntu server to perform some administrative
tasks. Every time I have to give my password to log in, and then immediately
give my password again to sudo. It would be nice if the login program, which
runs as root, could set my sudo timestamp somehow so that if I execute sudo
immediately after logging in it doesn't have to ask me for my password. Is
there a way to do this with login / sudo / some other tool?

Kind regards,
Pepijn Schmitz



More information about the sudo-users mailing list