[SunHELP] NIS

sunhelp at sunhelp.org sunhelp at sunhelp.org
Thu Jan 11 16:06:01 CST 2001


--openmail-part-29f4433b-00000001
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
	;Creation-Date="Thu, 11 Jan 2001 16:06:01 -0600"
Content-Transfer-Encoding: 8bit

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


--openmail-part-29f4433b-00000001--




More information about the SunHELP mailing list