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

Reply via email to