P. 1
Solaris Sys Admin

Solaris Sys Admin

|Views: 8|Likes:
Published by Ramiz Seyidmatov

More info:

Published by: Ramiz Seyidmatov on Dec 27, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

10/05/2013

pdf

text

original

1.First enter the name of the NIS domain into /etc/defaultdomain (case-sensitive)
2.Then define the NIS server in /etc/inet/hosts
3.Start ypinit -c and type in the name of the NIS server
4./usr/lib/netsvc/yp/ypstart or reboot

Now you have to tell the Solaris OS the tables (host names, users, and so on) for which it should use NIS. This is
done with the file /etc/nsswitch.conf. To make Solaris software ask the NIS server if it cannot find a
host name in the local /etc/inet/hosts file, append nis after files in the line starting with hosts.

There is a predefined file called nsswitch.nis in the /etc-directory, which contains NIS definitions for all
available tables.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->