Pārlūkot izejas kodu

Merge pull request #75 from amontalban/master

Add sudo_rules syntax examples for rules with colons
tags/v0.45.0
puneet kandhari pirms 9 gadiem
vecāks
revīzija
827fb76304
1 mainītis faili ar 7 papildinājumiem un 0 dzēšanām
  1. +7
    -0
      pillar.example

+ 7
- 0
pillar.example Parādīt failu

@@ -13,6 +13,13 @@ users:
manage_bashrc: False
expire: 16426
sudouser: True
# sudo_rules doesn't need the username as a prefix for the rule
# this is added automatically by the formula.
# ----------------------------------------------------------------------
# In case your sudo_rules have a colon please have in mind to not leave
# spaces around it. For example:
# ALL=(ALL) NOPASSWD: ALL <--- THIS WILL NOT WORK (Besides syntax is ok)
# ALL=(ALL) NOPASSWD:ALL <--- THIS WILL WORK
sudo_rules:
- ALL=(root) /usr/bin/find
- ALL=(otheruser) /usr/bin/script.sh

Notiek ielāde…
Atcelt
Saglabāt