2019-02-24 15:47:41 +00:00
|
|
|
# visudo
|
2016-02-19 23:09:13 +00:00
|
|
|
|
2016-02-19 23:09:38 +00:00
|
|
|
> Safely edit the sudoers file.
|
2021-11-25 21:32:48 +00:00
|
|
|
> More information: <https://www.sudo.ws/man/1.8.13/visudo.man.html>.
|
2016-02-19 23:09:13 +00:00
|
|
|
|
2021-11-25 21:32:48 +00:00
|
|
|
- Edit the sudoers file:
|
2016-02-19 23:09:13 +00:00
|
|
|
|
|
|
|
`sudo visudo`
|
|
|
|
|
2021-11-25 21:32:48 +00:00
|
|
|
- Check the sudoers file for errors:
|
2016-02-19 23:09:13 +00:00
|
|
|
|
|
|
|
`sudo visudo -c`
|
2021-11-25 21:32:48 +00:00
|
|
|
|
|
|
|
- Display version information:
|
|
|
|
|
|
|
|
`visudo --version`
|