You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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
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:
Then remove the
NO
prefix toNOPASSWD
, then save & exit.The text was updated successfully, but these errors were encountered: