NIS, various domain

From: Jorge (asdsrbur_at_adsf.uf.es)
Date: 08/18/04


Date: Wed, 18 Aug 2004 10:52:18 +0200

I'am trying configurate various domain in a same server NIS. Well, I have
make 2 domain (domain_1 domain_2) in the server NIS, so y have
/var/yp/domain_1 and /var/yp/domain_2.

The first problem is when I want to create a new user, I have to adduser
user1 in /etc/passwd and then move this line to /var/yp/passwd_1 to make the
map table in /var/yp (changing route for domain_1) , here is another form to
do it without modifying /etc/passwd?.

The second ask, I launch yppasswd -D /var/yp/ daemon to modify the passwd
of domain_1 but , if a user2 of domain_2 would to modify his passwd with
yppasswd ? ,,,,

Well, I would have 2 class of users in my local network so I think use 2
domain in a single YP server.

thanks in advance.

george.