Apparently nobody noticed that SSH subsystem commands can quite validly have
spaces in them ("with optional arguments"); the patch below fixes that
problem.>From c306a1ed208aecbb689cf91c219dd23b7f201179 Mon Sep 17 00:00:00 2001 From: Matt Palmer <[email protected]> Date: Sat, 30 Jan 2010 22:52:56 +1100 Subject: [PATCH] SSH subsystems are allowed to have spaces in them, you know --- lenses/sshd.aug | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lenses/sshd.aug b/lenses/sshd.aug index 826d416..a0782b9 100644 --- a/lenses/sshd.aug +++ b/lenses/sshd.aug @@ -92,7 +92,7 @@ module Sshd = let deny_users = array_entry "DenyUsers" let subsystemvalue = - let value = store /[^ \t\n]+/ in + let value = store (/[^ \t\n]/ | /[^ \t\n][^\n]*[^ \t\n]/) in [ key /[A-Za-z0-9]+/ . sep . value . eol ] let subsystem = -- 1.5.6.5 _______________________________________________ augeas-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/augeas-devel
