append the bellow line to /etc/sudors file

Defaults  env_reset timestamp_timeout=0

it will ask for the password every time.


2009/5/19 Saifi Khan <[email protected]>:
>
>
> Hi all:
>
> Noticed that many users keep typing many times on the terminals
> the following pattern
>
> $ sudo command01 options
> password:
>
> $ sudo command02 options
> $ sudo command03 options
> $ sudo command04 options
> $ sudo command05 options
>
> As some would have noticed, sudo only asks for password for the
> first time, so for command 2, 3, 4 and 5, there was no password
> prompt.
>
> Can somebody please explain how sudo works ?
>
> thanks
> Saifi.
>
> 

Reply via email to