Hi,

On Tue, Feb 28, 2017 at 8:55 AM, Ward, Mattison Taylor <
mattison_w...@unc.edu> wrote:

>
> $sudo augtool print /files/etc/ssh/sshd_config
> $sudo augtool print /augeas//error
> /augeas/files/etc/ssh/sshd_config/error = "parse_failed"
> /augeas/files/etc/ssh/sshd_config/error/pos = "523"
> /augeas/files/etc/ssh/sshd_config/error/line = "19"
> /augeas/files/etc/ssh/sshd_config/error/char = "0"
> /augeas/files/etc/ssh/sshd_config/error/lens = "/usr/share/augeas/lenses/
> dist/sshd.aug:123.12-125.36:"
> /augeas/files/etc/ssh/sshd_config/error/message = "Get did not match
> entire input"
>
>
> $sudo cat /etc/ssh/sshd_config
> ...
> Match Host ourhosts*
>   DenyUsers fred
>
>
>
> Other entries under the Match clause work fine:
>
> For example, after changing 'DenyUsers fred' to 'PermitRootLogin no'
> augtool print works fine.
>
> Any ideas?
>

What version of augeas are you using ? This change
<https://github.com/hercules-team/augeas/commit/1b299d58bbebd6551412bd721838e9e582a81a07>
(released in Augeas 1.3.0 in 2014) seems to address the issue.

David
_______________________________________________
augeas-devel mailing list
augeas-devel@redhat.com
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to