Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # /etc/security/login_access.conf
- #
- # Prepared for <%= fqdn %> by Puppet
- #
- <% logingroup = hostname -%>
- <% logingroup = hostname.sub(/^(.+?)\d+(.+)$/, '\1-\2-login') -%>
- <% rootgroup = hostname.sub(/^(.+?)\d+(.+)$/, '\1-\2-root') -%>
- +:root:ALL
- +:sysadmin:ALL
- +:<%= logingroup %>:ALL
- +:<%= rootgroup %>:ALL
- # Everyone else cannot login
- -:ALL:ALL
Add Comment
Please, Sign In to add comment