From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,1552539f483ca5d3 X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,1552539f483ca5d3 X-Google-Attributes: gidfee84,public From: Charles M Richmond Subject: Re: useradd & dxaccounts commands Date: 1996/11/30 Message-ID: <32A0FF7E.15FB@iisc.com>#1/1 X-Deja-AN: 201649888 references: content-type: text/plain; charset=iso-2022-jp organization: Integrated International Systems Corp. mime-version: 1.0 newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc x-mailer: Mozilla 3.01 (X11; I; OSF1 V3.2 alpha) Aleksandar Milivojevic wrote: > > Jon Nielsen (jon@agric.uwa.edu.au) wrote: > > Extracts from the man page for domainname: > > > > -- > > domainname - display or set the name of the current NIS domain for this > > system > > ... > > A domain is a logical grouping of networked-connected systems established > > for the purpose of sharing a common set of NIS data files. Domains are > > only used by NIS. > > -- > > > > There's your answer - if you're not using NIS you shouldn't be setting the > > domainname. > > Well, manpages differ from system to system, and on some other systems > things like DNS, sendmail etc. are also mentioned in the man page for > domainname. For example, useradd command on Solaris works if > domainname is set, so obviusly there is some better, more correct, way to > check wether NIS is in use then checking if domainname is set. > >From Ultrix domainname manpage: (note 'yp' is old name for NIS) Domains are only used by the yellow pages (YP) service and are called YP domains. A YP domain is a directory in /etc/yp, established through the use of the domainname command, ... >From SCO domainname manpage: domainname - set or display name of current Network Information Service (NIS) domain >From Linux domainname manpage: domainname - show or set the system's NIS/YP domain name >From SunOS 4.1.4 domainname - set or display name of the current NIS domain The Solaris man page reference to use with DNS is nonstandard , but not surprising when you consider that the yp/nis code came from Sun. Charlie (sometime consultant with both Digital & Sun) -- *********************************************************************** * Charles Richmond Integrated International Systems Corporation * * cmr@iisc.com cmr@koibito.iisc.com cmr@shore.net * * UNIX Internals, I18N, L10N, X, Realtime Imaging, and Custom S/W * * One Longfellow Place Suite 3309 , Boston , Ma. USA 02114-2431 * * (617) 723 7695 (617) 367 3151 FAX (617) 723 6861 * ***********************************************************************