Vander,
 Here's your answer, sortof -
http://www.go2linux.org/disable-cache-password-sudo

- Lee

2009/6/3 Jean-Philippe Moal <[email protected]>

>  You can use 'sudo -k' to destroy the current sudo "session", but I doubt
> there is one created if the password is wrong.
>
> Lee Hambley a écrit :
>
> Most likely, your server has cached the fact that your password has been
> entered, this mechanism will depend on your server host, but you may try
> restarting sshd on there, or looking into "passowrd agents" or similar, it's
> the same as when you authenticate on Unix, and it remembers for ~5 mins.
>  - Lee
>
> 2009/6/3 vanderkerkoff <[email protected]>
>
>>
>> I've run my deploy script and typed in an incorrect sudo password, it
>> completed as the thing I needed to run as sudo, nginx, has started,
>> but it wont work properly unless it's run as root.
>>
>> I'm now not getting a prompt for the password, as something has cached
>> it.
>>
>> Anyone got any ideas how to fix it?
>>
>>
>>
>>
>>
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to