[Sunhelp] RE: NIS setup

Andre' Cervera andre at sun.com.ph
Mon Oct 9 00:02:23 CDT 2000


This is a multi-part message in MIME format.

------=_NextPart_000_0015_01C031F1.2A9597A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

Here's an easier way to configure NIS server. (Applicable for Solaris =
2.x)

# domainname example-name (to set your nis-domain)
# domainname > /etc/defaultdomain
# cp /etc/nsswitch.nis /etc/nsswitch.conf

To initialize NIS
# cd /var/yp
# /usr/lib/netsvc/yp/ypstart

Regards,
Andre' Cervera
Systems Engineer
SUN Microsystems Philippines


------=_NextPart_000_0015_01C031F1.2A9597A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Here's an easier way to configure NIS =
server.=20
(Applicable for Solaris 2.x)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2># domainname example-name (to set your=20
nis-domain)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2># domainname > =
/etc/defaultdomain</FONT></DIV>
<DIV><FONT face=3DArial size=3D2># cp /etc/nsswitch.nis=20
/etc/nsswitch.conf</FONT></DIV><FONT face=3DTahoma></FONT>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>To initialize NIS</FONT></DIV>
<DIV><FONT face=3DArial size=3D2># cd /var/yp</FONT></DIV>
<DIV><FONT face=3DArial size=3D2># =
/usr/lib/netsvc/yp/ypstart</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Andre' Cervera</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Systems Engineer</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>SUN Microsystems =
Philippines</FONT></DIV>
<DIV> </DIV></BODY></HTML>

------=_NextPart_000_0015_01C031F1.2A9597A0--






More information about the SunHELP mailing list