arvados-login-sync 2.2.1 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/arvados-login-sync +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b949aeb07e206728253b11028f00da42fa8fef96ca1aeb250e995e6ca24ac2eb
|
4
|
+
data.tar.gz: 7fd4722bd25aa0736eddcdceda42e473ae1adf74edd4563a1866658c76e2a301
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2204374072a0f44a0142ec9a486cf005658b4e8a3a45e807a5ce25be6a1261e65ff773b8d5edaaf2a23c512d9e8c74c5db07e34a1899dd579bbc99c2f30fdc31
|
7
|
+
data.tar.gz: 10b565408da0e7ee088e443c53e2519879534ba8caa5713a8bf24caafe56b83c1383818f0738487f1019e93e6d1bb89e1f698cc3e68873b74f36ccebdbc45264
|
data/bin/arvados-login-sync
CHANGED
@@ -144,7 +144,7 @@ begin
|
|
144
144
|
if existing_groups.index(addgroup).nil?
|
145
145
|
# User should be in group, but isn't, so add them.
|
146
146
|
STDERR.puts "Add user #{username} to #{addgroup} group"
|
147
|
-
system("
|
147
|
+
system("usermod", "-aG", addgroup, username)
|
148
148
|
end
|
149
149
|
end
|
150
150
|
|
@@ -152,7 +152,7 @@ begin
|
|
152
152
|
if groups.index(removegroup).nil?
|
153
153
|
# User is in a group, but shouldn't be, so remove them.
|
154
154
|
STDERR.puts "Remove user #{username} from #{removegroup} group"
|
155
|
-
system("
|
155
|
+
system("gpasswd", "-d", username, removegroup)
|
156
156
|
end
|
157
157
|
end
|
158
158
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arvados-login-sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arvados Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: arvados
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0.12'
|
69
69
|
description: Creates and updates local login accounts for Arvados users. Built from
|
70
|
-
git commit
|
70
|
+
git commit e2a5458774e462d5f6250ba9c48913608af4ba07
|
71
71
|
email: packaging@arvados.org
|
72
72
|
executables:
|
73
73
|
- arvados-login-sync
|