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