Skip to content

docs: is IP address supported? #1466

@e-kwsm

Description

@e-kwsm

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

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions