mirror of
https://github.com/r-freeman/portfolio.git
synced 2025-05-15 18:00:20 +00:00
This commit is contained in:
parent
20647317a0
commit
ad626c9fdf
@ -38,13 +38,13 @@ sudo adduser username
|
||||
```
|
||||
|
||||
```bash
|
||||
sudo usermod -aG sudo ryan
|
||||
sudo usermod -aG sudo username
|
||||
```
|
||||
|
||||
Alternatively, if the user already exists you can add them to the sudo group using the `adduser` command.
|
||||
|
||||
```bash
|
||||
sudo adduser ryan sudo
|
||||
sudo adduser username sudo
|
||||
```
|
||||
|
||||
## Disable root login for SSH
|
||||
|
Loading…
x
Reference in New Issue
Block a user