Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #242782

Re: oddjob-mkhomedir question

From Stanislav Vlasov <stanislav.v.v@gmail.com>
Newsgroups linux.debian.user
Subject Re: oddjob-mkhomedir question
Date 2021-12-08 18:40 +0100
Message-ID <Ds957-6Hd-5@gated-at.bofh.it> (permalink)
References <Ds4oN-3Wk-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

oddjob-mkhomedir question charlie derr <charlie@emergencyguild.org> - 2021-12-08 13:40 +0100
  Re: oddjob-mkhomedir question Stanislav Vlasov <stanislav.v.v@gmail.com> - 2021-12-08 18:40 +0100
    Re: Re: oddjob-mkhomedir question charlie derr <charlie.derr@gmx.com> - 2021-12-09 01:40 +0100

csiph-web