Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 406259

Summary: app-admin/sudo - Typo in sudoers man page: "user name" instead of "username"
Product: Gentoo Linux Reporter: Antonio Regidor Garcia <a_regidor>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED UPSTREAM    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Antonio Regidor Garcia 2012-02-29 09:33:58 UTC
Hi,

I use sudo 1.8.3_p2

The sudoers man page contains this definition in EBNF:

User ::= '!'* user name |
         '!'* #uid |
         '!'* %group |
         '!'* %#gid |
         '!'* +netgroup |
         '!'* %:nonunix_group |
         '!'* %:#nonunix_gid |
         '!'* User_Alias

It should be:

User ::= '!'* username |
         '!'* #uid |
         '!'* %group |
         '!'* %#gid |
         '!'* +netgroup |
         '!'* %:nonunix_group |
         '!'* %:#nonunix_gid |
         '!'* User_Alias

i.e., "user name" must be one word. Otherwise, it would represent 2 non-terminals in EBNF.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-05-16 15:24:58 UTC
Please report this upstream.