Sha256: 2affcda8b43494b7fcf6c971fe37bdafc1fb9e7ca43932006bd09b6b1a10be10
Contents?: true
Size: 586 Bytes
Versions: 8
Compression:
Stored size: 586 Bytes
Contents
# # /etc/sudoers # # Generated by Chef for <%= @node[:fqdn] %> # Defaults !lecture,tty_tickets,!fqdn # User privilege specification root ALL=(ALL) ALL <% @sudoers_users.each do |user| -%> <% if user[:can_sudo_without_password] %> <%= user[:name] %> ALL=(ALL) NOPASSWD: ALL <% else %> <%= user[:name] %> ALL=(ALL) ALL <% end %> <% end -%> # Members of the sysadmin group may gain root privileges %sysadmin ALL=(ALL) ALL <% @sudoers_groups.each do |group| -%> # Members of the group '<%= group %>' may gain root privileges %<%= group %> ALL=(ALL) ALL <% end -%>
Version data entries
8 entries across 8 versions & 1 rubygems