[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: oddjob-mkhomedir question



2021-12-08 17:07 GMT+05:00, charlie derr <charlie@emergencyguild.org>:

> On this relatively new platform, i was able to quite trivially get pam-ldap
> functionality (for SSH logins) working. However, after installing the oddjob
> package(s), a user who does not yet have a home directory on the server is
> still not getting one autocreated upon SSHing in.

Years ago in 2009 with users in LDAP (with pam_ldap) i use
pam_mkhomedir on debian and some russian rpm-based distro.
pam_mkhomedir will be work now as in 2009.

I think, most RH-only services must be used only if most of your
servers are RH-based and you vendor-locked on RH.
If datacenter not RH-based, then i prefer more universal solutions,
which work on RH too.

> I've looked in log files, bumped sshd_config loglevel up to DEBUG, and
> restarted dbus, ssh and the oddjobd services.

> Should any of you have any advice about where to look in order to
> troubleshoot (there seems to be no evidence that any attempt was even made
> to create a homedir upon the user logging in), i'd love to have you share
> it.

I think, you shoud look to /etc/pam.d
Not all configs work as expected, when need some strange (e.g. not
localhost desktop or alone server)

-- 
Stanislav


Reply to: