projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dd5e12
)
10232: Increase ascii art.
author
Tom Clegg <tom@curoverse.com>
Tue, 18 Oct 2016 13:01:54 +0000
(09:01 -0400)
committer
Tom Clegg <tom@curoverse.com>
Tue, 18 Oct 2016 13:01:54 +0000
(09:01 -0400)
services/login-sync/bin/arvados-login-sync
patch
|
blob
|
history
diff --git
a/services/login-sync/bin/arvados-login-sync
b/services/login-sync/bin/arvados-login-sync
index 89f6b03f8a4e7d9abc5e438b7b81369462403454..720c6364b58be7aa53d9273be2db07fdb7fe5a66 100755
(executable)
--- a/
services/login-sync/bin/arvados-login-sync
+++ b/
services/login-sync/bin/arvados-login-sync
@@
-94,7
+94,9
@@
begin
@homedir = Etc.getpwnam(l[:username]).dir
userdotssh = File.join(@homedir, ".ssh")
Dir.mkdir(userdotssh) if !File.exists?(userdotssh)
- newkeys = keys[l[:username]].join("\n") + "\n"
+
+ newkeys = "###\n###\n" + keys[l[:username]].join("\n") + "\n###\n###\n"
+
keysfile = File.join(userdotssh, "authorized_keys")
if File.exists?(keysfile)