Hello,

It seems indeed like autosave is broken (in 0.8.0 at least, what version
are you using?).

One way to get it to work is to pipe a save command:


echo -e "set /files/etc/ssh/sshd_config/PermitRootLogin "no"\nsave" |
augtool


I'll try to investigate the bug when I get some time.


Raphaël



On Fri, Nov 11, 2011 at 11:52 AM, Biltong <[email protected]> wrote:

> I'm misunderstanding something here.
>
> # augtool get /files/etc/ssh/sshd_config/PermitRootLogin
> /files/etc/ssh/sshd_config/PermitRootLogin = without-password
> # augtool set /files/etc/ssh/sshd_config/PermitRootLogin "no"
> # augtool get /files/etc/ssh/sshd_config/PermitRootLogin
> /files/etc/ssh/sshd_config/PermitRootLogin = without-password
>
> Trying again, this time with -s to save.
>
> # augtool get /files/etc/ssh/sshd_config/PermitRootLogin
> /files/etc/ssh/sshd_config/PermitRootLogin = without-password
> # augtool -s set /files/etc/ssh/sshd_config/PermitRootLogin "no"
> # augtool get /files/etc/ssh/sshd_config/PermitRootLogin
> /files/etc/ssh/sshd_config/PermitRootLogin = without-password
>
> Works with the augtool shell.
>
> Confused.
>
> --
>  Biltong
>  [email protected]
>
> --
> http://www.fastmail.fm - Access all of your messages and folders
>                          wherever you are
>
> _______________________________________________
> augeas-devel mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/augeas-devel
>
_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to