3.3. NIS


Important

Before NIS can be configured as an identity store, NIS itself must be configured for the environment:
  • A NIS server must be fully configured with user accounts set up.
  • The ypbind package must be installed on the local system. This is required for NIS services, but is not installed by default.
  • The portmap and ypbind services are started and enabled to start at boot time. This should be configured as part of the ypbind package installation.

3.3.1. Configuring NIS Authentication from the UI

  1. Open the authconfig UI, as in Section 2.2.3, “Launching the authconfig UI”.
  2. Select NIS in the User Account Database drop-down menu.
  3. Set the information to connect to the NIS server, meaning the NIS domain name and the server host name. If the NIS server is not specified, the authconfig daemon scans for the NIS server.
  4. Select the authentication method. NIS allows simple password authentication or Kerberos authentication.

3.3.2. Configuring NIS from the Command Line

To use a NIS identity store, use the --enablenis. This automatically uses NIS authentication, unless the Kerberos parameters are explicitly set (Section 4.3.2, “Configuring Kerberos Authentication from the Command Line”). The only parameters are to identify the NIS server and NIS domain; if these are not used, then the authconfig service scans the network for NIS servers.
[root@server ~]# authconfig --enablenis --nisdomain=EXAMPLE --nisserver=nis.example.com --update
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.