[augeas-devel] [Augeas] #177: Error adding entry to sudoers

Augeas trac at fedorahosted.org
Fri Jan 21 03:05:07 UTC 2011


#177: Error adding entry to sudoers
------------------------+---------------------------------------------------
  Reporter:  fsweetser  |       Owner:  lutter 
      Type:  defect     |      Status:  closed 
  Priority:  major      |   Milestone:  next   
 Component:  Augeas     |     Version:  0.7.4  
Resolution:  wontfix    |    Keywords:  sudoers
------------------------+---------------------------------------------------
Changes (by fsweetser):

  * status:  new => closed
  * resolution:  => wontfix

Comment:

 I got some very good help from raphink on IRC.  Apparently the root cause
 is I'm using two parameters to match the node (user and command).  The
 first set creates a node with the right user, but leaves other parameters
 empty.  The second set fails to match the created node, since it's only
 partially filled in, so creates another new node missing the user, with
 only the command set, and so on for any subsequent sets.

 I've attached another set of augtool commands from raphink that produces
 the result I was looking for, in case it proves useful to anyone else
 running into the same issue.

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/177#comment:1>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list