Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3931806
D354.id836.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
D354.id836.diff
View Options
diff --git a/roles/shellserver/users/files/ssh_keys/tomjerr b/roles/shellserver/users/files/ssh_keys/tomjerr
new file mode 100644
--- /dev/null
+++ b/roles/shellserver/users/files/ssh_keys/tomjerr
@@ -0,0 +1 @@
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDlBO0oLUHYkMBIRregybPFAa0z2C7o2OsIugNZO628Z28hrtxNl+sxTues5TqEV0GEfSWxDf6Ce+d0wWIi7BunL+8pjc59hPbNczCNpgFCXtzgoJptMJ/ikQL0C1xA4dv1KiwYWAYWh45+R/KwW/ab2cfpXGA8G5l1/4ILK73lzIsy4MQEbxAKcsqHKnQqqoDIVP+9t5fsqgqHzBqGWw0l2J5lF1WWIWiNa7ZxuzIr8SHo8/2UYGHIVads25zccpU1dTyUoZ/czfNfTdvYCVgLLQZRw9NgTyKVyL+yNLIUkqykc94ogsw2KZbBNMcUuBnVVL9Kcdyo7rmMzMLdXCjh tomjerr
diff --git a/roles/shellserver/users/users.sls b/roles/shellserver/users/users.sls
--- a/roles/shellserver/users/users.sls
+++ b/roles/shellserver/users/users.sls
@@ -35,6 +35,12 @@
# Active accounts
# -------------------------------------------------------------
+tomjerr:
+ user.present:
+ - fullname: Tommy Aditya
+ - shell: /bin/bash
+ - uid: 2001
+
# -------------------------------------------------------------
# Groups
# -------------------------------------------------------------
@@ -43,7 +49,14 @@
group.present:
- system: True
- gid: 200
+ - members:
+ - tomjerr
# -------------------------------------------------------------
# Managed SSH keys
# -------------------------------------------------------------
+
+sshkeys:
+ ssh_auth.present:
+ - user: tomjerr
+ - source: salt://roles/shellserver/users/files/ssh_keys/tomjerr
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 20:24 (19 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2312738
Default Alt Text
D354.id836.diff (1 KB)
Attached To
Mode
D354: [Eglide] New account: tomjerr
Attached
Detach File
Event Timeline
Log In to Comment