12-05-2006
Quote:
The old Sun systems running SunOS just had 2 files.
/etc/hosts
/etc/hostname.{interface} ie: /etc/hostname/hme0
On Solaris 10 it has /etc/inet/ipnodes in addition. Dunno DEC quite well.
Darwin
10 More Discussions You Might Find Interesting
1. IP Networking
Dear All ,
I have Sun Solaris 8 machine . during installation i gave the machine ip address 192.168.0.50 and gatway 192.168.0.1 .
now i hvae to change the IP address and the gateway ! how ??
i know i have to use ifconfig , but how can i change it and the gateway ???
also where from i... (4 Replies)
Discussion started by: tamemi
4 Replies
2. IP Networking
Can anyone tell me how to change the IP address on a unix server, as I have no idea whatsoever.
Thanks (2 Replies)
Discussion started by: itservices
2 Replies
3. Shell Programming and Scripting
Hi,
i am sending mails regulary for updation of data.
The from addresses dispaly like
POP.RECH@skk182.com
i want display like
oracle@skk182.com
can u help me on this. (1 Reply)
Discussion started by: koti_rama
1 Replies
4. HP-UX
Hi Friends,
I am facing one issue with my hpux server.
I used to send mail from the hpux server directly to the customer id.
By default the from address includes the complete hostname(eg:- user1@hostname.domain.com). My domain name is registered, but this individual hostname is not... (1 Reply)
Discussion started by: arumon
1 Replies
5. AIX
With a recent move to a new data center, the domain for our system emails have changed. We used automated emails with our daily process for informational and report sending.
I edited the /etc/mail/sendmail.cf file where it had an entry pointing to the old mail server so I change this to our new... (3 Replies)
Discussion started by: NycUnxer
3 Replies
6. Programming
Hello, I need to write a program using C language which allow me to change the IP and MAC addresses of a given interface... Now I fork the process and by exec I'm using the "ifconfig interf X.X.X.X" command... but i can't use this solution because i have to avoid the context switch... Can someone... (4 Replies)
Discussion started by: gilby985
4 Replies
7. Debian
I have a new Ethernet device that has a default IP address on a different subnet and need to change it. I have a Debian 6.0 host connected to the device with a crossover cable and have changed the host /etc/hosts and /etc/networks files to the same subnet as the new device and rebooted. Ping... (2 Replies)
Discussion started by: snorkack59
2 Replies
8. Forum Support Area for Unregistered Users & Account Problems
How can I change email address registered with my unix.com account (1 Reply)
Discussion started by: hiten.r.chauhan
1 Replies
9. UNIX for Dummies Questions & Answers
I need to change the ip address in RHEL 6 . Please tell me the files to be edited....complete procedure.......... Don't tell the graphical method ........ Explain everything in CLI ...........
Thanks in Advance:b: (3 Replies)
Discussion started by: vamshigvk475
3 Replies
10. IP Networking
ubuntu / xubuntu 13.10 and 14.04 (this issue should exist in debian as well)
I use wifi to connect to internet. I would like to change the wifi card mac address before connecting. Let's call the original mac address, macA, and the new mac address, macB.
I do the following:
ifconfig wlan0... (2 Replies)
Discussion started by: arpagon
2 Replies
LEARN ABOUT CENTOS
ypmake
ypmake(1M) System Administration Commands ypmake(1M)
NAME
ypmake - rebuild NIS database
SYNOPSIS
cd /var/yp ; make [map]
DESCRIPTION
The file called Makefile in /var/yp is used by make(1S) to build the Network Information Service (NIS) database. With no arguments, make
creates dbm databases for any NIS maps that are out-of-date, and then executes yppush(1M) to notify slave databases that there has been a
change.
If you supply a map on the command line, make will update that map only. Typing make passwd will create and yppush the password database
(assuming it is out of date). Likewise, make ipnodes and make networks will create and yppush the ipnodes and network files, $(INET-
DIR)/ipnodes and $(DIR)/networks.
There are four special variables used by make: DIR, which gives the directory of the source files; NOPUSH, which when non-null inhibits
doing a yppush of the new database files; INETDIR, which gives the directory of the ipnodes source file; and DOM, which is used to con-
struct a domain other than the master's default domain. The default for DIR is /etc, and the default for INETDIR is /etc/inet. The default
for NOPUSH is the null string.
Refer to ypfiles(4) and ypserv(1M) for an overview of the NIS service.
If a NIS to LDAP (N2L) configuration file, /var/yp/NISLDAPmapping, is present, the NIS server components run in N2L mode. In N2L mode, the
server components use a new set of map files with an LDAP-prefix, based on the LDAP DIT. In N2L mode, authoritative NIS information is
obtained from the DIT. The NIS source files and ypmake have no role, and they should not be used. If ypmake is accidentally run, then the
server components will detect this, and will log a warning message. For additional information, see ypfiles(4).
FILES
/var/yp Directory containing NIS configuration files.
/etc/inet/hosts System hosts file.
/etc/inet Default directory for ipnodes source file.
/etc Default directory for source files other than ipnodes.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWypu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
make(1S), nis+(1), makedbm(1M), rpc.nisd(1M), ypbind(1M), yppush(1M), ypserv(1M), ypclnt(3NSL), NISLDAPmapping(4), ipnodes(4), ypfiles(4),
ypserv(4)
NOTES
The NIS makefile is only used when running the ypserv(1M) server to provide NIS services. If these are being provided by the NIS+
server running in NIS compatibility mode, see rpc.nisd(1M); this makefile is not relevant. See ypfiles(4) for more details.
The Network Information Service (NIS) was formerly known as Sun Yellow Pages (YP). The functionality of the two remains the same. Only the
name has changed. The name Yellow Pages is a registered trademark in the United Kingdom of British Telecommunications plc, and may not be
used without permission.
SunOS 5.10 19 Mar 2003 ypmake(1M)