Actions
Bug #6031
closedwrong group set by SSH key distribution
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Hi,
during the authorized key file rollout the default group is set to "users" instead of the primary group of the user.
Flush the authorized key files before updating is disabled.
Example Output:
rudder01:~ # id testuser uid=18413(testuser) gid=33545(testgrp) groups=33545(testgrp) rudder01:~ # ls -l /home/testuser/.ssh/authorized_keys -rw------- 1 testuser users 609 Aug 22 15:05 /home/testuser/.ssh/authorized_keys rudder01:~ # chgrp testgrp /home/testuser/.ssh/authorized_keys; cfsync &> /dev/null; cfapply | egrep '(R:.*sshKeyDistribution).*testuser' R: @@sshKeyDistribution@@result_repaired@@42d47cfb-e87d-43bf-aa19-94ea96b88377@@26f4f175-48b3-4963-8cbd-e1177fff175c@@65@@SSH key@@testuser key1@@2014-12-18 14:23:17+00:00##1b724ab4-d066-467b-8aaf-c2fe2c8ca6b4@#SSH key "testuser key1" for user testuser was repaired rudder01:~ # ls -l /home/testuser/.ssh/authorized_keys -rw------- 1 testuser users 609 Aug 22 15:05 /home/testuser/.ssh/authorized_keys
Directive: SSH keys distribution
Directive version: 3.0
Rudder version: Rudder v.2.11.5~rc1~git201411220241
Updated by Benoît PECCATTE almost 10 years ago
- Subject changed from Wrong group during SSH key distribution to wrong group during SSH key distribution
Updated by Benoît PECCATTE almost 10 years ago
- Status changed from New to Pending technical review
Updated by Benoît PECCATTE almost 10 years ago
- Status changed from Pending technical review to New
Updated by Benoît PECCATTE almost 10 years ago
- Status changed from New to Pending technical review
- Assignee changed from Benoît PECCATTE to Nicolas CHARLES
Updated by Benoît PECCATTE almost 10 years ago
- Status changed from Pending technical review to Discussion
- Assignee changed from Nicolas CHARLES to Benoît PECCATTE
Updated by Benoît PECCATTE almost 10 years ago
- Status changed from Discussion to 8
- Target version changed from 2.11.6 to 2.10.9
Updated by Benoît PECCATTE almost 10 years ago
- Status changed from 8 to Pending technical review
- Assignee changed from Benoît PECCATTE to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/620
Updated by Benoît PECCATTE almost 10 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset policy-templates:commit:b3ffb130182be796820e85fef0abfd667afc5c59.
Updated by Nicolas CHARLES almost 10 years ago
Applied in changeset policy-templates:commit:1d9fde0cef821b8cb74add54a9ee3350c9b4d108.
Updated by Vincent MEMBRÉ almost 10 years ago
- Target version changed from 2.10.9 to 2.10.10
Updated by Vincent MEMBRÉ almost 10 years ago
- Subject changed from wrong group during SSH key distribution to wrong group set by SSH key distribution
Updated by Vincent MEMBRÉ almost 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.10.10 and 2.11.7, which were these days.
- Announcement 2.10 2.11
- Changelog 2.10 2.11
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Actions