On 21-Mar-00 Nico De Ranter wrote:
> On Mon, 20 Mar 2000, Matt Nelson wrote:
> 
>> i just got a NIS server/client pair running here.  installation was fairly
>> easy, but now that i have to maintain these systems, a couple of questions
>> immediately arose.  unfortunately, the HOWTO's and such deal mostly with
>> getting the system up and running, and don't really address system
>> administration issues related to NIS.
>> 
>> my question:
>> 
>>  - what is the proper way to add users to an NIS server?  the dbm file is
>>    generated from the existing password/shadow file, and adduser adds
>>    records to password/shadow file only.  otoh, yppasswd updates the dbm
>>    file only.  i could run ypinit after adding a new user, but then the 
>>    "current" passwords in the dbm are lost.
> 
> On my SUN I need to cd to /var/yp and run make after making changes to the
> password file, this will take care of rebuilding the dbm files and pushing
> the changes to the slave NIS servers. I suspect on Linux this should be 
> more or less the same.

it is. This is what needs to be done (and this is what I do) on my
Red Hat system at work.

-Greg


----------------------------------
E-Mail: Gregory Hosler <[EMAIL PROTECTED]>
Date: 22-Mar-00
Time: 09:10:12


       The answer to the meaning of life:

  perl -e 'print$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10); '


----------------------------------


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to