[augeas-devel] problem with ssh lense on denyusers in match section

David Lutterkort lutter at watzmann.net
Wed Mar 1 01:51:43 UTC 2017


Hi,

On Tue, Feb 28, 2017 at 8:55 AM, Ward, Mattison Taylor <
mattison_ward at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20170228/061619f1/attachment.htm>


More information about the augeas-devel mailing list