Describe the bug
sudo-rs seems to accept an IP address as a host, but it is not mentioned in the man.
To Reproduce
$ echo 'Defaults@192.168.10.10 lecture' | visudo-rs -c -
stdin: parsed OK
|
Host_List ::= Host | |
|
Host \[aq],\[aq] Host_List |
|
|
|
Host ::= \[aq]!\[aq]* host name | |
|
\[aq]!\[aq]* Host_Alias |
|
.EE |
Expected behavior
Man specifies that IP addresses are supported.
Environment (please complete the following information):
- Linux distribution: EndeavourOS
sudo-rs version: 0.2.12
Additional context
Describe the bug
sudo-rs seems to accept an IP address as a host, but it is not mentioned in the man.
To Reproduce
sudo-rs/docs/man/sudoers.5.man
Lines 230 to 235 in 91a0784
Expected behavior
Man specifies that IP addresses are supported.
Environment (please complete the following information):
sudo-rsversion: 0.2.12Additional context