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

Suggestion: Add step for ensuring that a password is required for sudo #39

Closed
sbrl opened this issue Jun 8, 2019 · 2 comments
Closed
Assignees
Labels
enhancement New feature or request

Comments

@sbrl
Copy link

sbrl commented Jun 8, 2019

In some distributions such as Raspbian, by default a password is not required to use sudo. Obviously this is no good - so I suggest adding a step to ensure that a password is required.

This can be done like so, at least in Raspbian:

sudoedit /etc/sudoers.d/010_pi-nopasswd

Then remove the NO prefix to NOPASSWD, then save & exit.

@imthenachoman imthenachoman self-assigned this Jun 9, 2019
@imthenachoman imthenachoman added the enhancement New feature or request label Jun 9, 2019
@imthenachoman
Copy link
Owner

Thanks. I will add this when I get a moment.

@daxmc99
Copy link

daxmc99 commented Jul 18, 2019

Also would like this due to the Raspbian default not requiring a password for sudo
Might also be useful to mention lastb to show failed login attempts.

@sbrl sbrl changed the title Suggestion: Add step for ensuring that a password si required for sudo Suggestion: Add step for ensuring that a password is required for sudo Jul 19, 2019
imthenachoman added a commit that referenced this issue Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants