Hi, How do I add records to a NIS-server; I don't think I can continue to add users with useradd etc.? Sander ********************************************************************** Disclaimer This email is confidential and intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Azlan Holdings bv and/or subsidiary. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error please notify Azlan Holdings MIS Helpdesk by telephone on +31 (0) 79 3443200. ********************************************************************** -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Mon, 3 Apr 2000, Sander van Vugt wrote:
Hi,
How do I add records to a NIS-server; I don't think I can continue to add users with useradd etc.?
Sander
Hello Sander! "useradd" is actually not too wrong, but you have to run it on the NIS master server, of course. The only thing is: find out if you NIS Makefile uses the source files like "passwd" or "group" from their original locations, or if there is something like a "/var/yp/src"-directory, where the map sources are. In any case, it is the SOURCES which have to be changed. If the original files are used, it is alright, if not, the original files are not used in any way for creating the NIS database maps. So, taken that the sources are separate from the original files, which is USUALLY THE CASE, simply edit the "passwd" and/or "group" file for adding a new user. After that, you have to rebuild the NIS maps, using the "make" command in "/var/yp". The maps are then created and automatically pushed to possible NIS slave servers Don't forget of course to create a home directory for the user, too! Best regards Oli /********************************************\ * * * Oliver Tennert * * * * +49 -7071 -9457-598 * * * * e-mail: O.Tennert@science-computing.de * * science + computing GmbH * * Hagellocher Weg 71 * * D-72070 Tuebingen * * * \********************************************/ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (2)
-
sander.van.vugt@azlan.nl
-
tennert@science-computing.de