Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User's password isn't accepted when called with invalid command #3

Open
fluks opened this issue Oct 8, 2019 · 0 comments
Open

User's password isn't accepted when called with invalid command #3

fluks opened this issue Oct 8, 2019 · 0 comments

Comments

@fluks
Copy link

fluks commented Oct 8, 2019

Try to execute for example: sudo blaablaa

When you enter your correct sudo password, it isn't accepted, instead you just get: Sorry, try again.

What you should get is: sudo: blaablaa: command not found

sudo false also does the same, so if the command returns false, password is never accepted.

fluks added a commit to fluks/sudo_sniff that referenced this issue Oct 12, 2019
…-zero

If user gave correct password but the command returned non-zero, the
program kept asking for a password. This commit doesn't keep asking for
the password and it shows what the command outputs and returns a its
exit value.

Fixes dubs3c#3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant