mirror of
https://github.com/sunknudsen/privacy-guides.git
synced 2025-02-23 09:13: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
|
source ~/.bashrc
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 14: disable pi sudo `nopassword` “feature”
|
### Step 14: configure pi `.vimrc`
|
||||||
|
|
||||||
```shell
|
|
||||||
sudo rm /etc/sudoers.d/010_*
|
|
||||||
```
|
|
||||||
|
|
||||||
### Step 15: configure pi `.vimrc`
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
cat << "EOF" > ~/.vimrc
|
cat << "EOF" > ~/.vimrc
|
||||||
@ -235,12 +229,18 @@ syntax on
|
|||||||
EOF
|
EOF
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 16: switch to root
|
### Step 15: switch to root
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
sudo su -
|
sudo su -
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Step 16: disable pi sudo `nopassword` “feature”
|
||||||
|
|
||||||
|
```shell
|
||||||
|
rm /etc/sudoers.d/010_*
|
||||||
|
```
|
||||||
|
|
||||||
### Step 17: disable root Bash history
|
### Step 17: disable root Bash history
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
Loading…
x
Reference in New Issue
Block a user