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