Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3928294
D353.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D353.id.diff
View Options
diff --git a/roles/shellserver/users/users.sls b/roles/shellserver/users/users.sls
new file mode 100644
--- /dev/null
+++ b/roles/shellserver/users/users.sls
@@ -0,0 +1,49 @@
+# -------------------------------------------------------------
+# Salt — Provision users accounts
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Eglide
+# Created: 2016-04-08
+# Description: Adds and revokes user accounts, in the relevant
+# groups and with their stable SSH keys.
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+# -------------------------------------------------------------
+# Table of contents
+# -------------------------------------------------------------
+#
+# :: Disabled accounts
+# :: Active accounts
+# :: Groups
+# :: Managed SSH keys
+#
+# -------------------------------------------------------------
+
+# -------------------------------------------------------------
+# Disabled accounts
+# -------------------------------------------------------------
+
+# Currently, there is no revoked accounts on Eglide.
+#
+# To disable an account, remove it from the active section and
+# add here the following block:
+#
+# orkaevash:
+# user.absent
+
+# -------------------------------------------------------------
+# Active accounts
+# -------------------------------------------------------------
+
+# -------------------------------------------------------------
+# Groups
+# -------------------------------------------------------------
+
+shell:
+ group.present:
+ - system: True
+ - gid: 200
+
+# -------------------------------------------------------------
+# Managed SSH keys
+# -------------------------------------------------------------
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 04:37 (13 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2311657
Default Alt Text
D353.id.diff (1 KB)
Attached To
Mode
D353: New unit for shellserver: users
Attached
Detach File
Event Timeline
Log In to Comment