Visit Our UNIX and Linux User Community


help needed to put machine in domain


 
Thread Tools Search this Thread
Operating Systems Solaris help needed to put machine in domain
# 1  
Old 08-18-2009
help needed to put machine in domain

Hi All,

I am working on Solaris sparc 9 and my computer name is mgsun.
I want to bring this machine to a specific domain (e.g.-xx.xx.org).

So please help me to do the same..

thanks in Advance...
# 2  
Old 08-18-2009
Assuming you mean a DNS domain, you need to have your server IP/hostname registered in the DNS servers managing the domain you want.
# 3  
Old 08-18-2009
Please follow the below steps:

Code:
#cp /etc/nsswitch.nis /etc/nsswitch.conf
#domainname   xx.xx.org
#vi /etc/defaultdomain
xx.xx.org

and save the file

#/usr/lib/netsvcs/yp/ypstart
#cd /var/yp
#/usr/sbin/ypinit -c
give the master server name

If there is any problem, write the output.

Thanks,
Deepak
# 4  
Old 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.
# 5  
Old 08-18-2009
Three answers, three different interpretations of the OP question ...

Previous Thread | Next Thread
Test Your Knowledge in Computers #799
Difficulty: Medium
In digital numeral systems, the radix is the number of unique digits minus 1.
True or False?

10 More Discussions You Might Find Interesting

1. SCO

Machine and domain renaming

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

2. Linux

Unable to connect to Server machine from a client machine using ftp service

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

3. Shell Programming and Scripting

help needed to put instance numbers

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

4. Solaris

Old Sun machine documentation needed

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

5. Shell Programming and Scripting

Script to monitor Machine Health (Project Doctortux) Input needed.

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

6. Red Hat

To find the LATEST file from a dir on REMOTE machine and SCP to local machine?

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

7. Windows & DOS: Issues & Discussions

How to: Linux BOX in Windows Domain (w/out joining the domain)

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

8. IP Networking

Unable to ping freebsd machine using fully qualified domain name

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

9. Linux

Help needed installing Grace (xmgrace) on Linux machine

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

10. UNIX for Dummies Questions & Answers

Adding a Unix machine to the domain

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

Featured Tech Videos