Ticket #211 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Sudoers lense parse failure: (ALL:ALL)

Reported by: smithj4 Owned by: lutter
Priority: major Milestone: next
Component: Augeas Version: 0.8.0
Keywords: Cc: deesto
Blocked By: Blocking:

Description

Ubuntu comes with a default /etc/sudoers file which contains the following valid line that causes the augeas lense to choke with a parse error:

root ALL=(ALL:ALL) ALL

I believe the colon is the problem since a similar line on Fedora works okay:

root ALL=(ALL) ALL

Tested with augeas-0.8.1

Change History

comment:1 Changed 3 years ago by deesto

  • Cc deesto added

comment:2 Changed 3 years ago by domcleal

Fixed in 0a80aed below, to support a users:groups list in a runas_spec line:

https://github.com/domcleal/augeas/tree/211-sudoers-groups

comment:3 Changed 3 years ago by lutter

  • Status changed from new to closed
  • Resolution set to fixed

Thanks for hte bug report and the fix. Committed as e2cb3847

Note: See TracTickets for help on using tickets.