[augeas-devel] Re: [Augeas] #48: sudoers lens does not handle multiline strings
Augeas
trac at fedorahosted.org
Mon Mar 23 07:47:17 UTC 2009
#48: sudoers lens does not handle multiline strings
------------------------+---------------------------------------------------
Reporter: fsweetser | Owner: raphink
Type: defect | Status: assigned
Priority: minor | Milestone: next
Component: Augeas | Version: 0.4.1
Resolution: | Keywords: sudoers
------------------------+---------------------------------------------------
Comment (by raphink):
Replying to [comment:6 lutter]:
> Replying to [comment:4 raphink]:
> > Another issue, with the "editor" parameter. This parameter is a string
which contains a colon-separated list of editors for visudo. The problem
is that sto_to_com does not allow colons because they are used as
separators in most lists in sudoers.[[BR]]
> >
> >
> > Solutions:[[BR]]
> > * We need either a separate parsing for "editor" which cuts down the
list into params[[BR]]
> > * or a separate sto_to_com entry which allows colons and is used for
all string parameters
>
> I'd much prefer the first solution (splitting editor into a list of tree
nodes)
Me too, but that might mean getting into the detail of each of the +/-50
possible parameters, which might each have a different syntax... I can try
to see how it turns out.
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/48#comment:8>
Augeas <http://augeas.net/>
a configuration API
More information about the augeas-devel
mailing list