mirror of
https://github.com/sunknudsen/privacy-guides.git
synced 2025-02-22 16:53:56 +00:00
Changed order of steps
This commit is contained in:
parent
2f59c7e0cc
commit
c0a9babdb7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user