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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In

Was this helpful?

We appreciate your feedback. Leave a comment if you would like to provide more detail.
It looks like we have some work to do. Leave a comment to let us know how we could improve.