Fedora considers removing NIS support
NIS ("Network Information Service") was initially born in the depths of Sun Microsystems as "Yellow Pages". It came about in those heady times when Unix workstations were beginning to pop up in offices — and were being connected to just-installed 10Mb/s Ethernet networks via a (suitably named for the Halloween season) vampire tap. Having a network made it possible to copy around various administrative files like /etc/passwd and create an early sort of single-sign-on regime on the local network. We were all quite proud of ourselves for setting such things up.
As the number of systems grew, though, all of that copying became a little cumbersome and machines easily went out of sync. Yellow Pages was Sun's way of automating this work within a simple, centralized service. Getting a network running with it was a quick process, and adding new clients was even faster. There were occasional problems, of course, leading to the system being renamed "Yellow Plague" by some users, but as a whole, it worked quite well. That is for a value of "quite well" that discounts its total lack of access control, encryption, or defenses against malicious hosts masquerading as servers, but that was a more innocent age.
Sun eventually ran into trademark problems with the Yellow Pages name; being a Unix company, Sun had a deep understanding of the folly of getting into legal battles with telecommunications companies, so it wisely changed the name to NIS. The later NIS+ release added some security and reliability features but looked similar in many ways. Eventually, though, Sun lost interest in NIS (and just about everything else) and the system fell from its nearly dominant position in Unix shops into obscurity. It would be surprising indeed to see a new deployment adopt it now.
Linux systems still carry support for NIS, though. The pam_unix authentication module supports it, and distributions still package the various NIS utilities. At the beginning of October, though, Björn Esser suggested that Fedora, at least, might stop doing so soon. Esser is working on a project to replace pam_unix (which also receives little attention anymore) with a simpler alternative; one of the things that would make it simpler would be to drop support for NIS. He wanted to know if anybody was still actively using it.
It seems that users do still exist; they were perhaps most aptly described by Stephen John Smoogen:
The places I have seen it still being used are in Universities run by people who learned sysadmin in the 1990's and early 2000's. It is a light weight system which is simple to set up and tends to be the goto-stick for a lot of 'we put this together in 1999 with RHL6 and upgraded ever since' places.
There may be more examples of that kind of site than anybody expects. Frank
Ch. Eigler was quick to
ask
whether any simple alternatives exist. The answer would appear to be
"no". Smoogen responded
that: "There is LDAP but that isn't light. There are kerberos but
that isn't easy
". But, he added, an awful lot of the "cool
kids
"
just defer to one of the large service providers for authentication
services — a solution that seems unlikely to appeal to anybody who has
made the effort to keep NIS running for all of these years.
One relatively easy alternative that does exist, as pointed
out by Tomasz Torcz, is FreeIPA. But, as Smoogen
noted,
it still is not as easy to manage as NIS and will be a hard sell for NIS shops:
"Most of the site admins running NIS I know would change their text
editor to $that_other_one before they would turn off NIS
". Even so,
he said that the time has come to stop using and supporting it.
The removal of NIS support was posted
as a Fedora 36 goal on October 21. Eigler then asked for the
provision of some scripts to help sites migrate to something else; that
request has gone unanswered so far.
The change proposal does note that:
"For some users this change may be a bit disruptive and it may
require some learning curve for switching to alternative solutions
".
Fedora project leader Matthew Miller responded to
that statement by saying: "I've spoken with some of my sysadmin
friends and universities, and they suggest that the above is enough of an
understatement to feel insulting
". He suggested that
Fedora 36, which is currently aiming for a release in April, might be
too soon for this change.
Given that nothing is calling for the urgent removal of NIS, that
suggestion seems likely to be heeded. But the end of NIS support in Fedora
is clearly in the works, and it will likely come sooner than some users
would like. It's worth noting that RHEL 9 will not
support NIS either. The Yellow Pages/NIS system has had a good run
over the decades, but it would appear that the time has come to run from
it.
