Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F6993344
D827.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
774 B
Referenced Files
None
Subscribers
None
D827.diff
View Options
diff --git a/pillar/users/shellusers.sls b/pillar/users/shellusers.sls
--- a/pillar/users/shellusers.sls
+++ b/pillar/users/shellusers.sls
@@ -28,6 +28,11 @@
uid: 2005
dereckson:
fullname: Sebastien Santoro
+ {% if grains['os'] == 'FreeBSD' %}
+ shell: /bin/tcsh
+ {% else %}
+ shell: /usr/bin/tcsh
+ {% endif %}
uid: 5001
kalix:
fullname: Yassine Hadj Messaoud
diff --git a/roles/shellserver/users/init.sls b/roles/shellserver/users/init.sls
--- a/roles/shellserver/users/init.sls
+++ b/roles/shellserver/users/init.sls
@@ -36,7 +36,7 @@
{{user}}:
user.present:
- fullname: {{ args['fullname'] }}
- - shell: /bin/bash
+ - shell: {{ args['shell']|default('/bin/bash') }}
- uid: {{ args['uid'] }}
{% endfor %}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 19, 20:13 (8 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2585879
Default Alt Text
D827.diff (774 B)
Attached To
Mode
D827: Switch dereckson shell to tcsh on Eglide
Attached
Detach File
Event Timeline
Log In to Comment