How to tell sudo to repeat lecture once

sudousers

I'm letting one of my coding buddies have root access to my Raspberry Pi, and as I was getting everything set up, I tested sudo as him.

It gave me "the speech":

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

What I'm wondering is how to tell sudo to repeat that once. I can't find where it stores the "warned users" list, and I don't want to go overkill and tell it to give The Speech every time.

Best Answer

You should be able to restore the "seen lecture" status by removing the user's sudo ticket directory, which is probably under /var/run/sudo.

Related Question