[augeas-devel] Re: [config-model-users] Semantic problem in augeas sshd lens ?
David Lutterkort
dlutter at redhat.com
Fri Aug 1 16:50:14 UTC 2008
On Fri, 2008-08-01 at 14:09 +0200, Raphaël Pinson wrote:
> It is an array as it is from what I understand. If you have several
> Subsystem entries, they will be represented as :
> /files/etc/ssh/sshd_config/Subsystem[1] =
> "sftp /usr/lib/openssh/sftp-server"
> /files/etc/ssh/sshd_config/Subsystem[2] =
> "internal-sftp /another/command"
>
> Although I think it could well be split into :
>
> { "Subsystem"
> { "name" = "sftp" }
> { "command" = "/usr/lib/openssh/sftp-server" } }
> { "Subsystem"
> { "name" = "internal-sftp" }
> { "command" = "/another/command" } }
>
>
> but that's another problem ;)
Yeah, that schema makes much more sense; probably even better would be
{ "Subsystem"
{ "sftp" = "/usr/lib/openssh/sftp-server" } }
{ "Subsystem"
{ "internal-sftp" = "/another/command" } }
I wrote the sshd_config lens kinda hastily ... patches to improve it
much welcome ;)
David
More information about the augeas-devel
mailing list