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