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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/arvados-login-sync +2 -2
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b64fd1cd8c364cf566914fdc6da7ed744bbb733ab96eaf70e683efe1941a2b3
4
- data.tar.gz: 492136dd7441fa026b8cc73015de98ec7ddb4f58a971e0fd78824c5b48520825
3
+ metadata.gz: b949aeb07e206728253b11028f00da42fa8fef96ca1aeb250e995e6ca24ac2eb
4
+ data.tar.gz: 7fd4722bd25aa0736eddcdceda42e473ae1adf74edd4563a1866658c76e2a301
5
5
  SHA512:
6
- metadata.gz: a507606b8372c9d73f8030b94aee0976e2a424f38b26a9f38373cce08b6ee754280db659fb9b66c6d27d2a89877d40b10357beb03ca1952a3dd5153432959a7e
7
- data.tar.gz: 257a5bb6859ed86ba519463dfacefd7303836a8c4a9ef4a25ca50a9f3ff4d3af456dd000e6cd240612aff3c585b9bbfd6692e7673c1a9d091c8dc19714bc6245
6
+ metadata.gz: 2204374072a0f44a0142ec9a486cf005658b4e8a3a45e807a5ce25be6a1261e65ff773b8d5edaaf2a23c512d9e8c74c5db07e34a1899dd579bbc99c2f30fdc31
7
+ data.tar.gz: 10b565408da0e7ee088e443c53e2519879534ba8caa5713a8bf24caafe56b83c1383818f0738487f1019e93e6d1bb89e1f698cc3e68873b74f36ccebdbc45264
@@ -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("adduser", username, addgroup)
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("deluser", username, removegroup)
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.1
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-04-27 00:00:00.000000000 Z
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 24b0875964b3eff98c12d1c135d8797efcfabfb2
70
+ git commit e2a5458774e462d5f6250ba9c48913608af4ba07
71
71
  email: packaging@arvados.org
72
72
  executables:
73
73
  - arvados-login-sync