System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

how to view whether NIS client is configured or not in HP-UX 11.11

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

how to view whether NIS client is configured or not in HP-UX 11.11

Hi

There is NIS client is configured in some HP-UX and not configured in some of HP-UX.

so how to view this.
8 REPLIES
avizen9
Esteemed Contributor
Solution

Re: how to view whether NIS client is configured or not in HP-UX 11.11

hello senithi,

you can telnet or ssh that unix box and type
"ypwhich" command
it will show you NIS Server / slave name also you can verify
/etc/rc.config.d/namesvrs file it should have NIS_CLIENT="1"
NIS_DOMAIN="domain-name"

let me know how its goes, thanks


Steven E. Protter
Exalted Contributor

Re: how to view whether NIS client is configured or not in HP-UX 11.11

Shalom,

Look at /etc/rc.config.d/namesvrs

That will show you the start up settings.

NIS will not start without that configured, and its self explanatory.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sharma Sanjeev
Respected Contributor

Re: how to view whether NIS client is configured or not in HP-UX 11.11

Hi Senthil

Please have a look on this file

/etc/rc.config.d/namesvrs

NIS_CLIENT value should be 1 here

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
點燃
Valued Contributor

Re: how to view whether NIS client is configured or not in HP-UX 11.11

Best way is to check whether NIS_CLIENT is set to 1 in the file "/etc/rc.config.d/namesvrs".

Regards!
________
Man's mind, once stretched by a new idea, never regains its original dimensions
RUET
Regular Advisor

Re: how to view whether NIS client is configured or not in HP-UX 11.11

domainname command will give you NIS domain you are connected to, if there is one ..
Ganesan R
Honored Contributor

Re: how to view whether NIS client is configured or not in HP-UX 11.11

Hi Senthilkumar,

/etc/rc.config.d/namesvrs -> This is the file which controls the NIS client startup.

You can also see the following two process on NIS clients..

keyserv
ypbind

Best wishes,

Ganesh.
Johnson Punniyalingam
Honored Contributor

Re: how to view whether NIS client is configured or not in HP-UX 11.11

Hi Senthil Kumar,

if "ypbind" "ypwhich" commands exits in your System or Server. could be "either NIS clinet or NIS clinet"

simple:-

below mentioned file will copied over to you /export/home/nisfiles
"/etc/passw" "/etc/group" "/etc/hosts"

The same name as NIS+ tables
If you want only passwords , groups , hosts , home directories to be administered then you need to copy the these files in some other directory - say nisfiles. You can make additional changes here .

#cp /etc/passwd /export/home/nisfiles
#cp /etc/group /export/home/nisfiles
#cp /etc/hosts /export/home/nisfiles

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Bijeesh
Respected Contributor

Re: how to view whether NIS client is configured or not in HP-UX 11.11


Hi,
You can check this on /etc/rc.config.d/namesvrs file.
If the NIS client is not configured,the entry will be like this.


NIS_CLIENT=0

rgds
Bijeesh