nsswitch.conf group info from NIS

Archived topics about LMDE 1 and LMDE 2
Locked
xyzzy13

nsswitch.conf group info from NIS

Post by xyzzy13 »

Anyone else having problems with setting nsswitch.conf to use nis to get group tables?

I just installed Mint LMDE 2 Betsy amd64 in a virtualbox VM to test things out. It's a completely clean install with exactly the following additional packages installed:

Code: Select all

% sudo apt-get nis autofs nfs-common
Everything boots fine at this point, but if I change one line in /etc/nsswitch.conf from:

Code: Select all

group:    compat
to

Code: Select all

group:  files nis
The system freezes on boot and never comes up. Funny thing is that if I do the same so the passwd tables are pulled from NIS, there's no problem -- it's only the group table.

This has been going on for a while in both ubuntu and mint (and a quick test with debian 10.1.0 seems to show the same behavior). In the past I've messed around with the startup scripts to make this work, but it requires some serious messing around that typically changes with each new release and I'd like to finally sort it out.

Anyone have any ideas? There are entries related to this in the ubuntu forums as well going back years, but no clear solutions. Is NIS just not being used mainstream any longer?

Thanks
jamie
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “LMDE Archive”