[augeas-devel] augtool set - doesn't work
Biltong
biltong at fastmail.fm
Fri Nov 11 10:52:10 UTC 2011
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
biltong at fastmail.fm
--
http://www.fastmail.fm - Access all of your messages and folders
wherever you are
More information about the augeas-devel
mailing list