Public bug reported:
(Tracking bug from upstream:
https://github.com/trifectatechfoundation/sudo-rs/issues/1602)
root@host:/etc/sudoers.d# visudo -c linux-users
linux-users:2:13: syntax error: token exceeds maximum length
%#9999999999 ALL=(ALL:ALL) NOPASSWD:ALL
^
visudo: invalid sudoers file
But with an actual user id such as 1999999999.
In the CLI, these are accepted, but the token limitations in the parser
are simply a bit too strict.
Reported by @Flo2388
**Additional context**
POSIX allows such user id's; and they have been observed to occur in the
real world.
** Affects: rust-sudo-rs (Ubuntu)
Importance: Medium
Status: Triaged
** Summary changed:
- Referencing group name in sudoers does not work, group id works
+ Large group id's / user id's (larger than 10 digits but < 32bits) are not
parsed correctly
** Changed in: rust-sudo-rs (Ubuntu)
Importance: Undecided => Medium
** Changed in: rust-sudo-rs (Ubuntu)
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2160214
Title:
Large group id's / user id's (larger than 10 digits but < 32bits) are
not parsed correctly
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-sudo-rs/+bug/2160214/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs