Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting oddjob-mkhomedir #316

Open
mboisson opened this issue Jan 30, 2024 · 0 comments · May be fixed by #317
Open

Supporting oddjob-mkhomedir #316

mboisson opened this issue Jan 30, 2024 · 0 comments · May be fixed by #317

Comments

@mboisson
Copy link
Member

mboisson commented Jan 30, 2024

In the case of a cluster that reuses an existing /home filesystem on CephFS with an external LDAP, it could be desirable to support oddjob-mkhomedir to create home directories on first login

This requires:

  • Ensuring that yum pkg oddjob-mkhomedir is installed (it usually is, but just in case)
  • Adding session optional pam_oddjob_mkhomedir.so debug umask=0077 to /etc/pam.d/password-auth and /etc/pam.d/system-auth
  • Ensuring that the oddjobd service is running
  • Possibly notifying dbus and sssd

This could be added as a boolean $mkhomedir in https://github.com/ComputeCanada/puppet-magic_castle/blob/main/site/profile/manifests/sssd.pp#L1

@mboisson mboisson changed the title Supporting oddjob-mkhome Supporting oddjob-mkhomedir Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant