diff --git a/how-to-configure-hardened-raspberry-pi/README.md b/how-to-configure-hardened-raspberry-pi/README.md index 281867c..5e00de8 100644 --- a/how-to-configure-hardened-raspberry-pi/README.md +++ b/how-to-configure-hardened-raspberry-pi/README.md @@ -210,13 +210,7 @@ history -c; history -w source ~/.bashrc ``` -### Step 14: disable pi sudo `nopassword` “feature” - -```shell -sudo rm /etc/sudoers.d/010_* -``` - -### Step 15: configure pi `.vimrc` +### Step 14: configure pi `.vimrc` ```shell cat << "EOF" > ~/.vimrc @@ -235,12 +229,18 @@ syntax on EOF ``` -### Step 16: switch to root +### Step 15: switch to root ```shell sudo su - ``` +### Step 16: disable pi sudo `nopassword` “feature” + +```shell +rm /etc/sudoers.d/010_* +``` + ### Step 17: disable root Bash history ```shell