1850631 Members
2371 Online
104054 Solutions
New Discussion

Re: /etc/netsvc.conf

 
SOLVED
Go to solution
Nguyen Anh Tien
Honored Contributor

/etc/netsvc.conf

Pls explain for me the meaning of this file:
/etc/netsvc.conf
HP is simple
9 REPLIES 9
Arunvijai_4
Honored Contributor

Re: /etc/netsvc.conf

Hi,

It is used in AIX for Name resolution order just /etc/nsswitch.conf as of HP-UX

http://www.unet.univie.ac.at/aix/aixprggd/progcomc/skt_translate.htm

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
RAC_1
Honored Contributor

Re: /etc/netsvc.conf

HP-UX??
There is no substitute to HARDWORK
Nguyen Anh Tien
Honored Contributor

Re: /etc/netsvc.conf

Yes . My question for HPUX.
I am facing and confused with below question:
Identify the system file that should be updated to enable NIS in an HP-UX 11 environment.
A.) /etc/named.conf
B.) /etc/ns.conf
C.) /etc/resolv.conf
D.) /etc/nsswitch.conf
E.) /etc/netsvc.conf
HP is simple
Arunvijai_4
Honored Contributor

Re: /etc/netsvc.conf

It is D.) /etc/nsswitch.conf

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Nguyen Anh Tien
Honored Contributor

Re: /etc/netsvc.conf

But boson say the correct answer is E.) /etc/netsvc.conf
see attached file.
I have same opion with you. D is answer
HP is simple
RAC_1
Honored Contributor

Re: /etc/netsvc.conf

It is surely D. Boson is wrong, unless the test is for AIX:-)
There is no substitute to HARDWORK
Arunvijai_4
Honored Contributor

Re: /etc/netsvc.conf

Sometimes, Boson may give you wrong answers.
Try a search with google or search http://docs.hp.com for netsvc.conf, it gives nothing related to HP-UX.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Arunvijai_4
Honored Contributor
Solution

Re: /etc/netsvc.conf

From AIX /etc/netsvc.com


# The /etc/netsvc.conf file is used to specify the ordering of name resolution for
# gethostbyname, gethostbyname2, gethostbyaddr routines
# and alias resolution for the sendmail command.
# Any host setting defined in /etc/netsvc.conf file will override the default host order
# and the host setting given in the /etc/irs.conf file.
# The environment variable NSORDER overrides the host settings in the /etc/netsvc.conf file,
# which in turn overrides the host settings in the /etc/irs.conf file.
#
# To specify the host ordering, enter the following:
# hosts = value [, value]

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Nguyen Anh Tien
Honored Contributor

Re: /etc/netsvc.conf

Thank for all
HP is simple