NIS Authentication/Adding user question

Chris F.A. Johnson cfaj-uVmiyxGBW52XDw4h08c5KA at public.gmane.org
Sun May 14 21:34:34 UTC 2006


On Sun, 14 May 2006, Michael Yang wrote:

> Hello All,
>

>  I am new to a lab and now trying to add an new user onto the lab
>  network which has Linux workstations and a Freebsd server. All
>  user's home directories are shared on the Freebsd server and the
>  server hold all user account information using NIS/NFS.
>
>  I have added a new user to the server, and run 'make' under /var/yp
>  afterwards, I still not able to logon from the workstatins with the
>  new account i created on the server, and I do not see the new
>  account info shows in /var/yp/master.passwd file.
>
>  My questions are:
>
>  1. Am I missing anything steps in the process of adding users
>
>  2. How long will it take to propogate the new account settings

     How are you adding the user? If you are using adduser, that will
     just create an entry in the local password file.

     To create a new NIS user, the information goes into
     /var/yp/master.passwd, and running make builds the database using
     the information in that file.


-- 
    Chris F.A. Johnson                      <http://cfaj.freeshell.org>
    ===================================================================
    Author:
    Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list