02-27-2006
Quote:
Originally Posted by b_manu78
try adding in /etc/netsvc.conf
Thanks
Manu
Try adding what to /etc/netsvc.conf? What is the syntax?
I know how to add syntax for /etc/hosts (i.e. do I search DNS or /etc/hosts first, etc.). I know it can also be used to determine the order to search e-mail aliases. That's only two of the 15 things nsswitch.conf does. I haven't seen any syntax to tell it an order to search for home directories to NFS automount. If it can be done, by all means, tell me how.
Thanks!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have this question in my study guide could anyone please help me with the answer and (explicit) explanation.
hostname: HOSTONE
automounter file: /etc/auto.home
entry: scps HOSTTWO:/export/home/scps
commands executed on HOSTONE, mark all commands where the automounter will be invoked.
... (3 Replies)
Discussion started by: almendrita
3 Replies
2. UNIX for Advanced & Expert Users
Hello all,
I'm not sure if this is the right forum, but I would like to know if Redhat running NIS ( not NIS +) would have conflict with Solaris running NIS+. Currently I am running NIS+ on Solaris but will be adding RedHat to the network. I seem to be unable to find and information regarding... (2 Replies)
Discussion started by: larry
2 Replies
3. UNIX for Dummies Questions & Answers
Hi ALL,
Does anyone know how automounting can be disabled in solaris?
(I need to mount the home directory on to a sun machine from another machine.
So I run something like
mount another_machine:/home /home (on my sun)
however i get an error saying device busy)
I was told automouting... (1 Reply)
Discussion started by: rkap
1 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
I just took over the admin role from someone and I wanna setup sendmail (just to send mail from the host) however, after I config all the resolv.conf, nssitch.conf, hosts file and when I try to send a mail out, after I punched ctl-D, it returned he following,
"NIS map mail.aliases... (2 Replies)
Discussion started by: stancwong
2 Replies
5. UNIX for Advanced & Expert Users
We have a RedHat 8.0 NIS master, with a RedHat 8.0 NIS Slave.
We also have a small number of SUSE 9.1 and SUSE 10 machines here for evaluation.
However, no matter what i do, the SUSE machines will not talk to the NIS Servers.
If i broadcast for NIS Servers for the specified NIS domain, it... (1 Reply)
Discussion started by: fishsponge
1 Replies
6. Solaris
Hi, all.
I have a Solaris client here needs to bind to NIS server in another subnet. Following is the configuration i made on the client,
1) edit /etc/inet/hosts to add an entry of the NIS server -- nserver01
2) execute `domainname` to set local NIS domain to the domain of the NIS server.... (1 Reply)
Discussion started by: sn_wukong
1 Replies
7. Shell Programming and Scripting
I'm creating a scrip for auditing our AIX box's to ensure that they are built according to our system standards. I'm not sure on the logic for checking to see if the NIS and NIS+ services are disabled. any idea's? (2 Replies)
Discussion started by: sport
2 Replies
8. Red Hat
Hi!
I have a wondering regarding the syscalls automounter floods out when running strace on the process, are the below ioctl & futex messages bad? and is there any way to investigate em deeper?
ioctl(3, 0xffffffffc018937c, 0x417a8020) = -1 EAGAIN (Resource temporarily unavailable)
ioctl(3,... (5 Replies)
Discussion started by: Esaia
5 Replies
9. IP Networking
Hi gurus, I am trying to understand the enviroment which we are using. The fact that I am asking is that this is production enviroment and I cannot change anything to experiment. Following servers are somehow related to each other, please help me figure out if my conclusions are correct.
-... (0 Replies)
Discussion started by: wakatana
0 Replies
10. Red Hat
I have an nfs at 192.168.1.10:/home/vm1/Desktop/nfs and will like to mount locally to /home/vm1/Desktop/nfs-mount using automounter...need help doing do
What i did
$cat /etc/auto.master
/home/vm1/Desktop /etc/auto.nfs
$cat /etc/auto.nfs
nfs-bind -fstype=nfs ... (3 Replies)
Discussion started by: nokia3310
3 Replies
ypwhich(1) User Commands ypwhich(1)
NAME
ypwhich - return name of NIS server or map master
SYNOPSIS
ypwhich [-d domain] [ [-t] -m [mname] | [-Vn] hostname]
ypwhich -x
DESCRIPTION
ypwhich returns the name of the NIS server that supplies the NIS name services to a NIS client, or which is the master for a map. If
invoked without arguments, it gives the NIS server for the local machine. If hostname is specified, that machine is queried to find out
which NIS master it is using.
Refer to ypfiles(4) for an overview of the NIS name services.
OPTIONS
-d domain Use domain instead of the default domain.
-t This option inhibits map nickname translation.
-m mname Find the master NIS server for a map. No hostname can be specified with -m. mname can be a mapname, or a nickname for a
map. When mname is omitted, produce a list of available maps.
-x Display the map nickname translation table.
-Vn Version of ypbind, V3 is default.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWnisu |
+-----------------------------+-----------------------------+
SEE ALSO
ypfiles(4), attributes(5)
SunOS 5.10 7 Apr 1995 ypwhich(1)