From c0a9babdb70176ab433ced99b3b9777605d70532 Mon Sep 17 00:00:00 2001 From: Sun Knudsen Date: Sat, 15 May 2021 09:02:35 -0400 Subject: [PATCH] Changed order of steps --- how-to-configure-hardened-raspberry-pi/README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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