If you've tried to use container engines such as podman, and other tools that 
rely on newuidmap/newgidmap for the configuration of user namespaces on systems 
where users are defined in FreeIPA, you've probably had to create entries in 
/etc/subuid and /etc/subgid manually.

I created a PAM module that automatically creates /etc/subuid and /etc/subgid 
entries when a user logs in. It can be found at 
<https://github.com/yrro/pam_subuid>. It's pretty rudimentary, but it does work 
on my machines; I hope other users of FreeIPA may find it useful, and maybe 
even send bug reports and pull requests. :)

I hope this isn't considered spamming--I created it in order to use it as a 
stopgap measure until shadow/sssd/FreeIPA are able to manage subordinate 
user/group IDs themselves.

-- 
Sam Morris <https://robots.org.uk/>
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org

Reply via email to