Project

General

Profile

Actions

Bug #2944

closed

sshKeyDistribution technique does not work with network users

Added by Michael Gliwinski about 12 years ago. Updated about 12 years ago.

Status:
Released
Priority:
N/A
Assignee:
Nicolas PERRON
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

The sshKeyDistribution technique makes two assumptions that prevent it from working with network users (e.g. from LDAP, NIS, AD, etc.):

  • assumes user info is in /etc/passwd
  • assumes user's primary group is named after the username

The attached patch changes it to obtain user information from `getent passwd` and to use primary group GID when assigning ownership.

The patch is in format for `git am`, but if you prefer a plain diff let me know.


Files

Actions

Also available in: Atom PDF