08-18-2009
one way is to capture the existing config. do sys-unconfig. after the system reboots, it will bring you through the "installation" process where it asks you the ip, netmask, services, domain etc. you can specify it then.
If im not wrong, you're asking how to join a domain right?
or you can do this method:-
cat /etc/resolv.conf
domain xx.xx.org
nameserver 192.168.2.1
search sspg.central.sun.com central.sun.com
Now, set up /etc/nsswitch.conf so that hosts are resolved via DNS. You can modify you existing/etc/nsswitch.conf file or just copy /etc/nsswitch.dns to /etc/nsswitch.conf.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hiya,
what is the exact command to add a Unix machine to the existing domain?
Is this command different for Linux/HP-Ux?
thanks (3 Replies)
Discussion started by: Wize
3 Replies
2. Linux
I want to install grace (plotting package; formerly called "xmgr"; also called xmgrace) on a standard PC running Red Hat Linux. I was hoping to find someprecompiled executables, but I only found the complete source files with Makefiles, ".rpm" files, and ".so" files, but I am not experienced enough... (2 Replies)
Discussion started by: karman
2 Replies
3. IP Networking
hi all.
am unable to ping a freebsd machine using fully qualified domain name from a windows machine.
i have already set the fqdn for the machine.
plz advise me.
thanks. (2 Replies)
Discussion started by: coolatt
2 Replies
4. Windows & DOS: Issues & Discussions
Dear Expert,
i have linux box that is running in the windows domain, BUT did not being a member of the domain. as I am not the System Administrator so I have no control on the server in the network, such as modify dns entry , add the linux box in AD and domain record and so on that relevant.
... (2 Replies)
Discussion started by: regmaster
2 Replies
5. Red Hat
Hi All,
URGENT - Please help me form a scipt for this:
I need the LATEST file from a dir on REMOTE machine to be SCP'd to a dir on local machine. (and I need to execute this from local server)
I know that the below cmd is used to find the LATEST file from a dir. But this command is not... (3 Replies)
Discussion started by: me_ub
3 Replies
6. Shell Programming and Scripting
I have written little script to check the CPU performance of the machine.
Request you to contribute your comments on the same.
Feel free to add your own scriptlet to make it better.
I have decided to call it as doctortux
I have decided to run the script in two mode
1)Interactive.(Not... (4 Replies)
Discussion started by: pinga123
4 Replies
7. Solaris
Hi all.
Last year, after registering on Sun support site, I downloaded for free all available documentation (in PDF) and support files of a couple of old Sun workstations (Ultra 5 and Ultra 10).
Now I need the documentation and support files of other old Sun workstations (SPARCstation 20 and... (4 Replies)
Discussion started by: wisechip
4 Replies
8. Shell Programming and Scripting
Hi All
I need help
am having a source file as below
emp
dept
class
subclass
region
country
division
first i need to get line count and i need to divide by 3 it is an parameter passing value
number of lines 7 (8 Replies)
Discussion started by: ragu.selvaraj
8 Replies
9. Linux
Hi,
Could you please help me with the below issue..
I'm running RHEL6 OS on both server (192.168.0.10) and client machines (192.168.0.1).
I'm trying to connect to server from the client machine using ftp service.
I have installed vsftpd daemon on both the machines.
I'm getting... (4 Replies)
Discussion started by: raosr020
4 Replies
10. SCO
HELP! I am running UNIX 7.1.4 and trying to change an existing machines' name, domain, and IP address. Uname -S and the new name changes the name but even when I use netcfg, I can not change the domain and IP. It is like it still thinks it is the old machine. I can not ping the new name or IP but... (3 Replies)
Discussion started by: NC user
3 Replies
LEARN ABOUT CENTOS
ypwhich
ypwhich(1) General Commands Manual ypwhich(1)
NAME
ypwhich - return name of NIS server or map master
SYNOPSIS
ypwhich [ -d domain ] [ -Vn ] [ hostname ]
ypwhich [ -d domain ] [ -t ] -m [ mname ]
ypwhich -x
DESCRIPTION
ypwhich returns the name of the NIS server that supplies the NIS 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.
OPTIONS
-d domain
Specify a domain other than 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 the -m option. mname can be a mapname or nickname for a
map. If mname is omitted, ypwhich will produce a list of available maps.
-x Display the map nickname translation table.
-Vn Version of ypbind(8), V2 is default.
FILES
/var/yp/nicknames
map nickname translation table.
SEE ALSO
domainname(8), nicknames(5), ypbind(8), ypcat(1), ypmatch(1), yppoll(8), ypserv(8), ypset(8)
AUTHOR
ypwhich is part of the yp-tools package, which was written by Thorsten Kukuk <kukuk@linux-nis.org>.
YP Tools 2.14 April 2010 ypwhich(1)