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.
Nico
>
> this has obviously been dealt with for many many years, but i don't
> have any docs explaining it. so how is this usually done?
>
> thanks!
>
> -matt
>
> -----------------------------------------------------------------------------
> Matthew Nelson
> Dynamics Technology, Inc.
> 21311 Hawthorne Blvd., Suite 300, Torrance, CA 90503-5610
> Voice: (310) 543-5433 FAX: (310) 543-2117 Email: [EMAIL PROTECTED]
>
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
>
>
--------------------------------------------------------
"It has been said that there are only two businesses
refer to customers as users: illegal drug trade and
the computer industry."
--------------------------------------------------------
Nico De Ranter
Sony Service Center (SDCE/DME-B)
Sint Stevens Woluwestraat 55 (Rue de Woluwe-Saint-Etienne)
1130 Brussel (Bruxelles), Belgium, Europe, Earth
Telephone: +32 2 724 86 41 Telefax: +32 2 726 26 86
e-mail: [EMAIL PROTECTED]
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.