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 "Set user shell even if user is system"
pull/168/head
Vasyl Saienko
6 years ago
parent
11ef3737d2
483746480a
commit
3ded6e4807
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
+1
-0
linux/system/user.sls
+ 1
- 0
linux/system/user.sls
View File
@@ -43,6 +43,7 @@ system_user_{{ name }}:
{%- endif %}
{%- if user.system is defined and user.system %}
- system: True
- shell: {{ user.get('shell', '/bin/false') }}
{%- else %}
- shell: {{ user.get('shell', '/bin/bash') }}
{%- endif %}
Write
Preview
Loading…
Cancel
Save