| 1 | --- |
| 2 | title: VISUDO(8) sudo-rs 0.2.14 | sudo-rs |
| 3 | --- |
| 4 | |
| 5 | # NAME |
| 6 | |
| 7 | `visudo` - safely edit the sudoers file |
| 8 | |
| 9 | # SYNOPSIS |
| 10 | |
| 11 | `visudo` [`-chqsV`] [[`-f`] *sudoers*] |
| 12 | |
| 13 | # DESCRIPTION |
| 14 | |
| 15 | `visudo` edits the *sudoers* file in a safe manner, similar to vipw(8). |
| 16 | |
| 17 | # OPTIONS |
| 18 | |
| 19 | `-c`, `--check` |
| 20 | : Only check if there are errors in the existing sudoers file. |
| 21 | |
| 22 | `-f` *sudoers*, `--file`=*sudoers* |
| 23 | : Instead of editing the default `/etc/sudoers`, edit the file specified as |
| 24 | *sudoers* instead. |
| 25 | |
| 26 | `-h`, `--help` |
| 27 | : Show a help message. |
| 28 | |
| 29 | `-V`, `--version` |
| 30 | : Display version information and exit. |
| 31 | |
| 32 | # SEE ALSO |
| 33 | |
| 34 | [sudo(8)](sudo.8.md), sudoers(5) |