Details
-
Type:
Task
-
Status: Open
-
Priority:
Medium
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Story Points:3
Description
Using getpwnam(), getpwuid() and related group functions in our processes is problematic and can give incomplete results due to our bundled libraries conflicting with libraries required by NSS plugins. In such cases we should fallback to using the getent utility. Getting user/group names and IDs is covered in CFE-3937, but the getuserinfo() policy function returns the whole JSON structure with all user data which requires some more work to be done.
Attachments
Issue Links
- relates to
-
CFE-3937 getgrnam()/getpwnam() need a fallback running 'getent' in a child process
-
- Done
-