# Rocky9 NIS Logins

**URL:** <https://forums.rockylinux.org/t/rocky9-nis-logins/14439>\
**Category:** Rocky Linux Help & Support\
**Created:** [June 5, 2024, 7:03am UTC](https://forums.rockylinux.org/t/rocky9-nis-logins/14439 "2024-06-05T07:03:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nanook](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/nanook/32/4333_2.png) [@Nanook](https://forums.rockylinux.org/u/Nanook)\
**Post date:** [June 5, 2024, 7:03am UTC](https://forums.rockylinux.org/t/rocky9-nis-logins/14439/1 "2024-06-05T07:03:14Z")

</div>

I have a Rocky9 machine I am trying to integrate into my existing NIS network. Given that RedRat discontinued support for NIS this is problematic. Rather than just install packages as some here have suggested, but does not fully work, in particular the pam supplied seems to be without NIS support, I recompiled them to make sure NIS was compiled in, and at this point I have pretty much everything working EXCEPT pam and pam I can’t compile properly because it wants libsystemd version 256 but version 254 ships with Rocky9 Linux. I thought perhaps I could grab from [opendesktop.org](http://opendesktop.org), but, while I see the documentation there, I’m not finding the source code. Could just be my inability to navigate the site. If anyone knows where I can find source for libsystemd version 256 please let me know.

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [June 5, 2024, 7:13am UTC](https://forums.rockylinux.org/t/rocky9-nis-logins/14439/2 "2024-06-05T07:13:59Z")

</div>

systemd version 256 isn’t released yet. The source for systemd (including libsystemd) can be found at [GitHub - systemd/systemd: The systemd System and Service Manager](https://github.com/systemd/systemd)

---

<div class="post-metadata">

**Author:** ![Nanook](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/nanook/32/4333_2.png) [@Nanook](https://forums.rockylinux.org/u/Nanook)\
**Post date:** [June 5, 2024, 7:19am UTC](https://forums.rockylinux.org/t/rocky9-nis-logins/14439/3 "2024-06-05T07:19:32Z")

</div>

Thanks muchly! Your help much appreciated!

---

<div class="post-metadata">

**Author:** ![Nanook](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/nanook/32/4333_2.png) [@Nanook](https://forums.rockylinux.org/u/Nanook)\
**Post date:** [June 5, 2024, 8:46am UTC](https://forums.rockylinux.org/t/rocky9-nis-logins/14439/4 "2024-06-05T08:46:09Z")

</div>

Well now I’ve recompiled systemd and it seems to be working, recompiled pam, and then did authselect select nis but now things get weird. su works with nis users but login via ssh does not. Logs say invalid user.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [August 4, 2024, 8:46am UTC](https://forums.rockylinux.org/t/rocky9-nis-logins/14439/5 "2024-08-04T08:46:55Z")

</div>

Closed on August 4, 2024, 8:46am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
