[SunHELP] NIS

Heshmati, Sardar sunhelp at sunhelp.org
Thu Jan 11 16:29:56 CST 2001


Admintool will only update /etc files. You have to manually add users and
groups in your /nis/passwd and /nis/group files.



-----Original Message-----
From: Johnny.Garza at mail.sprint.com [mailto:Johnny.Garza at mail.sprint.com]
Sent: Thursday, January 11, 2001 2:06 PM
To: sunhelp at sunhelp.org
Subject: RE: [SunHELP] NIS


Changed PWDIR =/nis. I tried adding users through admintool and the id
got created locally and not under /NIS/passwd or shadow. Any Idea how
what the problem might be? 

Thanks,
Johnny

-----Original Message-----
From: magnus.abrante [mailto:magnus.abrante at sweden.sun.com]
Sent: Thursday, January 11, 2001 4:03 AM
To: sunhelp
Subject: Re: [SunHELP] NIS


On Mon, Jan 08, 2001 at 12:24:05PM -0800, Heshmati, Sardar wrote:
> Just edit /var/yp/Makefile and change the following variable...
> 
> PWDIR =/nis
> 
> -----Original Message-----
> From: jgarza at ticnet.com [mailto:jgarza at ticnet.com]
> Sent: Monday, January 08, 2001 8:25 AM
> To: sunhelp at sunhelp.org
> Subject: [SunHELP] NIS
> 
> 
> 
> I want to redirect the passwd and shadow file on Solaris 2.6 while
adding,
> removing, and modify users in an NIS environment. 
> Is there a process of doing this?
> example. /etc/passwd to point to /nis/passwd
> Were are try to secure the root password from pushing down in the NIS
maps.
> Where are the files or scripts that we can modify located?

Actually, if you only want to stop the root account from appearing in
the
NIS maps you can edit /var/yp/Makefile. I did this very simply once, i
just
did a @grep -v "root:" $(PWDIR)/passwd > $(some_new_file) and then 
used the $(some_new_file) to make the passwd map from. Then repeated the

same thing for shadow. 

Regards,

      //Magnus Abrante
/* This is my opinion and not the one of my empolyer */

_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp




More information about the SunHELP mailing list