使用木偶的augeas能力,我想修改配置文件: /etc/ssh/sshd_config
没有傀儡,我使用Augeas的“augtool”试验,发现了几行,这似乎工作: augtool> set /files/etc/ssh/sshd_config/Match[1]/Condition/User "bill","ben"
augtool> set /files/etc/ssh/sshd_co
在配置文件/ etc/SSH/sshd_config中我要确定像一些特定用户的PasswordAuthentication项(或组): Match Group xyz_admin, xyz_support
PasswordAuthentication no
Match User yvonne,yvette
PasswordAuthentication yes
我不“不想干
我想修改一个centos firewalld区域文件使用augeas和xml镜头。 默认的公共区域文件看起来像: <?xml version="1.0" encoding="utf-8"?>
<zone>
<short>Public</short>
<description>For use in public areas. You do not trust the other