How do I add a new NIS domain user?

Updated -

The NIS domain user should be added to the NIS server's local user database (i.e. /etc/passwd, /etc/group, etc.). The commands below are used to create the new user account (e.g. yptestuser) and set the user's password:

adduser yptestuser
passwd yptestuser

Afterwards, the NIS domain's authentication files needs to be updated to export al...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content