[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [augeas-devel] sudoers lens not working



On Thu, Mar 19, 2009 at 10:16:57PM -0400, Frank Sweetser wrote:
>
> I'm trying to set up my sudoers file with augeas on CentOS 5.2, and I 
> don't seem to be having much luck with it.  augtool appears to just not 
> even realize that the file is there.
>
> [root trapeze ~]# augtool
> augtool> ls /files/etc/sudoers
> augtool>
>
> But the sudoers file is definitely there.
>
> [root trapeze ~]# ls -l /etc/sudoers
> -rw-r----- 1 root root 3186 May 24  2008 /etc/sudoers
>
> I'm having this problem with 0.4.2.  Anybody have any suggestions for  
> troubleshooting?

That means that augeas can't parse it.  Look under
"/augeas/files/etc/sudoers/" to see why, although I've gotta say
that Augeas' parse errors are generally entirely unhelpful:

augtool> ls /augeas/files/etc/sudoers/error/
pos = 2587
message = Short iteration

It's the one thing I don't like about it.  At least give me a line
number.  :(

-Robin

-- 
They say:  "The first AIs will be built by the military as weapons."
And I'm thinking:  "Does it even occur to you to try for something
other than the default outcome?" -- http://shorl.com/tydruhedufogre
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]