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


Groups > linux.debian.user > #242768 > unrolled thread

oddjob-mkhomedir question

Started bycharlie derr <charlie@emergencyguild.org>
First post2021-12-08 13:40 +0100
Last post2021-12-09 01:40 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  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

#242768 — oddjob-mkhomedir question

Fromcharlie derr <charlie@emergencyguild.org>
Date2021-12-08 13:40 +0100
Subjectoddjob-mkhomedir question
Message-ID<Ds4oN-3Wk-1@gated-at.bofh.it>
Greetings everyone,

i'm not subscribed to the list (but will check back via the web archives for responses that don't get CCed or BCCed to me).

Given that fact, do feel free to loop me in directly via (B)CC if you wish (though again, it's not necessary).

i've been using debian for ~25 years, and first of all, i have to express my debt of gratitude. It just keeps getting better and better.

Bullseye is truly awesome.

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.

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.

And/or if there's a different auto-create-homedir solution you might suggest, I'm also happy to try that (it does seem that oddjob is somewhat redhat specific?).

    thanks again for all that you all do -- what a great community,
                 ~c

[toc] | [next] | [standalone]


#242782

FromStanislav Vlasov <stanislav.v.v@gmail.com>
Date2021-12-08 18:40 +0100
Message-ID<Ds957-6Hd-5@gated-at.bofh.it>
In reply to#242768
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

[toc] | [prev] | [next] | [standalone]


#242789

Fromcharlie derr <charlie.derr@gmx.com>
Date2021-12-09 01:40 +0100
Message-ID<DsfDz-2bC-1@gated-at.bofh.it>
In reply to#242782

[Multipart message — attachments visible in raw view] — view raw

Thx so much, Stanislav!

pam_mkhomedir works like a charm (and it didn't even take me too long to figure
out how to set it up)

   best,
      ~c


--
charlie derr
systems thinker and nature lover
https://medium.com/@cderr

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web