Add doas
@@ -65,6 +65,11 @@ Verify the user was added to the sudo group:
|
||||
groups username
|
||||
```
|
||||
|
||||
Or if using doas instead of sudo
|
||||
```bash
|
||||
echo "permit persist username" >> /etc/doas.conf
|
||||
```
|
||||
|
||||
## Step 4: Set Up SSH Directory for New User (Server Console as Root)
|
||||
|
||||
Create the SSH directory and authorized_keys file for your new user:
|
||||
|
||||
Reference in New Issue
Block a user