Actions
Bug #26351
openssh key distribution reports The user <username> does not have a defined home dir when username has a dash in it
Status:
Pending release
Priority:
To review
Assignee:
Category:
Techniques
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
When managing keys for user with a dash in the login, we get the reports
E| error sshKeyDistribution Flush SSH file ztc-bob The user ztc-bob does not have a defined home dir E| compliant sshKeyDistribution Flush SSH file ztc-bob The keys for user ztc-bob were all correctly set
reported home dire looks correct
runhook_sshKeyDistribution_pre_hook.homedir[ztc_bob] has the value /home/ztc-bob
so i think it's really a reporting issue and not something else
Updated by Nicolas CHARLES 10 days ago
ok, it seems it works by mistake, as
home_directory_${${bundles}.sshkey_distribution_name[${array[${bundles}]}]}_definedcontains the dash
Updated by Nicolas CHARLES 10 days ago
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
Updated by Nicolas CHARLES 10 days ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/1863
Updated by Nicolas CHARLES 10 days ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-techniques|8ab0ffdb2471bd4e3b472450bffd5ae69d49ecac.
Actions