04-26-2010
Thanks for your reply. We have NIS setup but I'm just curious if there is any negative affect if I put "nis" in front of "files" in this nsswitch.conf file. Thanks again.
10 More Discussions You Might Find Interesting
1. Solaris
Hi all
Is there any reason to have "hosts ldap dns" as line in /etc/nsswitch.conf ? My understanding is that ldap does not contain any host information..(?)
Best regards...Ludwig (1 Reply)
Discussion started by: ludwig
1 Replies
2. Solaris
Dear Friend,
It is strange that my sendmail does not accord to the hosts order in solaris nsswitch.conf. Please let me elaborate in details. Thank you.
Setting:
solaris 9 /etc/nsswitch.conf
hosts: file ldap dns
sendmail 8.13.4 /etc/mail/sendmail.cf
O... (4 Replies)
Discussion started by: jackyyjwu
4 Replies
3. UNIX for Dummies Questions & Answers
Folks;
I know this might sounds stupid, but please help with this:
I have share in my smb.conf on my SUSE 10 box.
How can i make this share accessible to outside IP range or a specific IP address without need for user/pass?
Here's the share as it's written in smb.conf:
;
;comment =... (0 Replies)
Discussion started by: Katkota
0 Replies
4. Solaris
Hey all!
I'm working on Solaris10 right now and I was fiddling around with a fresh install and was wondering about the service that uses resolv.conf?
I know prior to Sol10 (SMF) it was /etc/init.d/inetsvc stop and start to reload resolv.conf changes
but I can't seem to find the correct SMF... (5 Replies)
Discussion started by: Keepcase
5 Replies
5. Solaris
OK I am running solaris 10.
I made some changes to my ipf.conf file and issued the command:
ipf -Fa -f /etc/ipf/ipf.conf
to flush out the old and bring in the new changes.
When I ran ipfstat -ioh to verify it had brought in the new rule set I saw something I wasn't expecting to see.
I... (3 Replies)
Discussion started by: NewSolarisAdmin
3 Replies
6. Solaris
Hello Guys,
Do we need to configure this file only if we add SAN disk or even if we add local disk, do we need to modify? (4 Replies)
Discussion started by: mokkan
4 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have a question on /etc/syslog.conf file in Solaris 10.
Below is a line taken from /etc/syslog.conf file and I know that the last field (operator) is where the logs gets outputted but how do I find out what the output file name format is going to be and which directory it gets outputted... (1 Reply)
Discussion started by: stevefox
1 Replies
8. UNIX for Dummies Questions & Answers
According to security manual only DNS, files, or LDAP should be allowed in nsswitch file however it seems like i have many other services configured in nsswitch files.
below are the content from nsswitch file.
What services can be removed considering the system stability.
passwd: files... (6 Replies)
Discussion started by: pinga123
6 Replies
9. HP-UX
Hi all,
There wasn't nsswitch.conf file in my HPUX server. So I copied /etc/nsswitch.files to /etc/nsswitch.conf and changed the content like below.
passwd: compat
group: compat
hosts: files dns nis
ipnodes: dns files
services: nis files
networks: nis... (2 Replies)
Discussion started by: sembii
2 Replies
10. Solaris
Hi,
I've installed Solaris 11.3(live media) and configured DNS. Everytime I reboot the server, resolv.conf got deleted and it created a new nsswitch.conf.
I used below to configure both settings:
# svccfg -s dns/client
svc:/network/dns/client> setprop config/nameserver = (xx.xx.xx.aa... (1 Reply)
Discussion started by: flexihopper18
1 Replies
LEARN ABOUT OPENSOLARIS
serialports
serialports(4) Sun Cluster File Formats serialports(4)
NAME
serialports - name to serial port database
SYNOPSIS
/etc/serialports
serialports NIS or NIS+ maps
DESCRIPTION
The serialports database maps a name to a server name and TCP port number that represents the serial port connected to the specified termi-
nal server host. The database is typically used to map host names to their consoles, but may also be used to provide access to printers,
modems, and the like. The mapping is used when the service is being provided by a network based terminal concentrator. For each name a sin-
gle line should be present with the following information:
host-name concentrator-hostname tcp-port-number
Items are separated by any number of blanks or TAB characters. A pound sign (#)indicates the beginning of a comment. Characters between the
pound sign and the end of the line are not interpreted by routines that search the file.
This information is used by the cconsole or cssh command to establish connection to a group of consoles of a cluster of network hosts. The
names that are used in this database must be host names, as used in the /etc/inet/hosts database.
To support Secure Shell connections to node consoles through the cssh command, specify in the /etc/serialports file the name of the con-
sole-access device and the Secure Shell port number for each node. If you use the default Secure Shell configuration on the console-access
device, specify port number 22.
For E10000 nodes, the entries are different. This is because E10000 uses netcon for console purposes, which operates over a network and
executes on the SSP. The following is the generic format for the entry.
hostname SSPname 23
The database is available from either the NIS or NIS+ maps or a local file. Lookup order is specified by the serialports entry in the
/etc/nsswitch.conf file, if present. If no search order is specified, the default order is nis files.
EXAMPLES
Example 1 A Sample /etc/serialports File
The following is an example /etc/serialports file:
# Network host to port database
# NFS server cluster
mercury planets-tc 5001
venus planets-tc 5002
# E10000 server cluster
cashews nuts-ssp-1 23
pecans nuts-ssp-2 23
Example 2 A Sample /etc/nsswitch.conf File Entry
The following is a typical /etc/nsswitch.conf entry:
serialports: nis files
FILES
/etc/serialports
/etc/nsswitch.conf
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscdev |
+-----------------------------+-----------------------------+
|Interface Stability |Uncommitted |
+-----------------------------+-----------------------------+
SEE ALSO
cconsole(1M), chosts(1M), cports(1M), cssh(1M), clusters(4), nsswitch.conf(4), attributes(5)
Sun Cluster 3.2 8 Sep 2007 serialports(4)