No, but you can kill it's parent shell. You can do 'bash -c "sudo
cmd"' and kill bash. On my attempts this killed the "sudo" after a
single bad password. Sure, bash is a bit overweight and would slow
things down, but you can emulate whatever happens there with less
bloat. Or use dash, at the least.

On 9/13/07, Martin Pitt <[EMAIL PROTECTED]> wrote:
> > For most cases it's very simple to get around this by attempting a
> password, killing the process after 100ms if it doesn't answer and
> retrying.
>
> This does not actually work, since as an user you are not allowed to
> kill a suid root process. So you can only fork processes like hell,
> which is bound by nproc.
>
> I still think that this is a sensible security measure.
>
> --
> Annoying and useless delays on password entry errors
> https://bugs.launchpad.net/bugs/138654
> You received this bug notification because you are a direct subscriber
> of the bug.
>


-- 
Bogdan Butnaru — [EMAIL PROTECTED]
"I think I am a fallen star, I should wish on myself." – O.

-- 
Annoying and useless delays on password entry errors
https://bugs.launchpad.net/bugs/138654
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to