This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
ExternalMirrors
/
linux-formula
mirror of
https://github.com/salt-formulas/salt-formula-linux
Watch
1
Star
0
Fork
1
Code
Issues
0
Releases
8
Wiki
Activity
Browse Source
Merge pull request
#94
from slimakcz/patch-1
remove sudo files for user
pull/96/head
Filip Pytloun
7 years ago
parent
1c100e3a1a
f39cb118d1
commit
dca73f1c80
1 changed files
with
5 additions
and
0 deletions
Split View
Show Diff Stats
+5
-0
linux/system/user.sls
+ 5
- 0
linux/system/user.sls
View File
@@ -50,6 +50,11 @@ system_user_home_{{ user.home }}:
- user: system_user_{{ name }}
- check_cmd: /usr/sbin/visudo -c -f
{%- else %}
/etc/sudoers.d/90-salt-user-{{ name|replace('.', '-') }}:
file.absent
{%- endif %}
{%- else %}
Write
Preview
Loading…
Cancel
Save