Created
April 26, 2012 20:09
-
-
Save Maniacal/2502714 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash "Add nagios group to AllowGroups in sshd_config" do | |
user "root" | |
code <<-EOH | |
sed -i 's/\(^AllowGroups.*\)/\1 nagios/' /etc/ssh/sshd_config | |
/sbin/service sshd restart | |
EOH | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment