DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Administering NIS users

Adding a user with an entry in the local passwd file

If the local passwd file will include an entry of the form ``+login'' for the new user you want to add, you can run the useradd(1M) command on the client machine to add the new user and to update the local passwd(4) (and shadow(4)) file. Follow this procedure:

  1. Log in as the NIS administrator or local administrator on the client machine.

  2. Run the useradd command with the -m option and the argument ``+login''. For example:

    useradd -m +kathy

    would add an entry in the passwd file (and create a home directory) for user kathy.

  3. Ensure that the user uses the yppasswd(1nis) command to set their NIS password.

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004