DEFAULTDOMAIN(5) Linux Programmer's Manual DEFAULTDOMAIN(5)NAME
defaultdomain - file which contains the NIS/YP domain name
DESCRIPTION
/etc/defaultdomain is used by the boot scripts to set the NIS/YP domain name for a system as returned by the getdomainname(2) function. The
file contains one line with the name of the domain.
Unlike DNS hostnames and domain names, the NIS domain name is case-sensitive! The NIS domain name must not be the same as the DNS domain
name, but for some services like NIS+ it should be the same.
Even if the domain name is often called NIS/YP domain name, it is also used from other protocols, not only NIS/YP.
FILES
/etc/defaultdomain /etc/init.d/boot.localnet
SEE ALSO domainname(1), init.d(7), init(8), nisdomainname(1), ypdomainname(1), ypbind(8), ypserv(8), ypwhich(1)COPYRIGHT
2002 SuSE Linux AG Nuernberg, Germany.
SuSE Linux 2002-01-16 DEFAULTDOMAIN(5)
Check Out this Related Man Page
domainname(8) System Manager's Manual domainname(8)NAME
domainname - set or display name of current domain
nisdomainname - set or display name of current NIS(YP) domain
ypdomainname - set or display name of current NIS(YP) domain
SYNOPSYS
domainname [ domain ]
nisdomainname [ domain ]
ypdomainname [ domain ]
DESCRIPTION
Without an argument, domainname displays the name of the current NIS domainname of the system. domainname uses the getdomainname(2)
function for getting the domainname, nisdomainname and ypdomainname are using yp_get_default_domain(3).
Only the super-user can set the name of the domain by specifying the new domain as an argument. All three programs uses setdomainname(2)
for this. Bear in mind, that already running programs may continue to use the old domainname.
SEE ALSO getdomainname(2), setdomainname(2), yp_get_default_domain(3), ypbind(8), ypcat(1), ypmatch(1), ypwhich(1), yppoll(8), ypserv(8), yset(8)AUTHOR
domainname is part of the yp-tools package, which was written by Thorsten Kukuk <kukuk@suse.de>.
YP Tools 2.9 May 1999 domainname(8)
Here's the setup. We have a consortium of three different\separate
domains\organizations A.org, B.org, and C.org that are sharing a domain
D.org. The server they share\use is housed at domain A.org. Domain A.org
also maintains the primary nameserver for both internal and external DNS.
The... (5 Replies)
I recentely aquired an old B1000 workstation running HP-UX 11(I think) that was a member of a NIS domain. As such it now fails to find it's domain, that lab has been dismantled, this is however not a huge problem by it's self but what is a problem is that all of the libs and bins were stored in a... (8 Replies)
I have a 44P-170 (7044-170) machine that has 4.3 ML11 installed on it and I am having a problem with NFS/NIS at boot. The machine will boot all the way up to the CDE login screen but when I log in as root, the screen goes black and will stay that way overnight. I have tried a console login as... (24 Replies)
Hi all,
I want to write a shell script that read line by line of a file that have all domain names written, after reading complete file it will give us following output.
Domain Name Expiry Days-Left
abcd.com 20-Feb-200 6 10
How can i acheive that script... (6 Replies)
I am needing to extract and list domain names out of a very large text file. The text file contains tlds .com .net .org and others as well as third level domains e.g. host1.domain.com and the names are placed within paragraphs of text.
Domains do not have a http:// prefix so I'm thinking the... (6 Replies)
Hi,
I have a trouble with configure NIS Client on AIX, my NIS server is on a Linux machine.
After configure, some old NIS account could login normally. However, after I create new account from NIS server, I could not login with the new account, but could only su to that account. And I could view... (20 Replies)
hi guys
I configured NIS on my Centos 5.5.
I create accounts on NIS Server and users can log in. Cool.
Now I added a user in my sudoers users in my NIS Server but user on other Linux boxes don't get the sudo permissions
any way or procedure to integrate sudo in a NIS setup?
thanks a... (14 Replies)
Hi All,
I need to display the output of rah "df -m" only for the filesysytems those are touching or crossing 80%. Im using SuSE Linux box and the output of original rah command is-
/dev/NODE0001
557900 446681 83319 75% /db2fs/NODE0001
/dev/NODE0002
... (5 Replies)
Hi,
I am new to NIS, In my company need to create a user with admin rights and the user was created but he is unable to login. below are the difference i am getting for me and him.
root@ abc]# getent passwd cric
cric:x:60215:20059:a:/home/cric:/bin/csh
# ypcat passwd | grep sam... (5 Replies)
Hi,
We have a Sun M5000. I am now trying to boot the second system domain by using the boot disk (a mirrored boot disk actually) of the first domain (if succeed then no OS installation is needed for the second domain). I got the following errors:
SPARC Enterprise M5000 Server, using Domain... (21 Replies)
I have email headers that look like the following. In the end I would like to accomplish sending each email address to its own variable, such as:
user1@domain.com='user1@domain.com'
user2@domain.com='user2@domain.com'
user3@domain.com='user3@domain.com'
etc...
I know the sed to get rid of... (11 Replies)
Hello,
I have this problem:
I have a domain which worked well until my ISP changed my ip. Since then my DNS is not working, and intodns.com reports still the old IP. The DNS remains the same.
I made changes in named.conf, in ifcfg-Auto_eth0, I flushed the cache but it;s the same thing.
What... (6 Replies)
Hello,
We have a process on our Linux RedHat machine creating symbolic links and moving around some files from domain to domain. The issue is that the programmer has left a long time ago and nobody knows how the program is called, where it is and how the scheduling is setup. It runs every day for... (7 Replies)
Hi Team
I have configured a linux dns server locally. Its fully working on linux clients but not windows client as its can't ping host by name. someone told me to create domain controller for working this to windows client as well.
I am new in linux and not aware how to create the domain and add... (8 Replies)
Hi all,
So I have created two Centos machines. One is configured as a NIS master and the second is a NIS cleint. The NIS configs are all working perfectly.
I created a user nisuser on NIS Master and I can use it on the client. BUT it doesnt show a home directory . Ive been told there is... (9 Replies)