mirror of
https://github.com/bpetschowitsch/weba.git
synced 2026-06-01 16:39:42 +00:00
26 lines
324 B
Markdown
26 lines
324 B
Markdown
# Make User a sudoer
|
|
Instructions to add user to sudoers
|
|
|
|
## login as root
|
|
```bash
|
|
su root
|
|
```
|
|
provide roots password
|
|
|
|
## edit /etc/sudoers
|
|
```bash
|
|
vim /etc/sudoers
|
|
```
|
|
|
|
add following line:
|
|
|
|
```text
|
|
youruser ALL=(ALL:ALL) ALL
|
|
```
|
|
|
|
ensure following line is given (otherwise add it):
|
|
|
|
```text
|
|
%sudo ALL=(ALL:ALL) ALL
|
|
```
|