Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: Charles M Richmond <cmr@iisc.com>
Subject: Re: useradd & dxaccounts commands
Date: 1996/11/30	[thread overview]
Message-ID: <32A0FF7E.15FB@iisc.com> (raw)
In-Reply-To: gliv6qnr5e.fsf@regoc.srce.hr


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         *
***********************************************************************



      parent reply	other threads:[~1996-11-30  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-28  5:00 useradd & dxaccounts commands Aleksandar Milivojevic
1996-11-29  5:00 ` Jon Nielsen
1996-11-29  5:00 ` Aleksandar Milivojevic
1996-11-30  5:00 ` Charles M Richmond [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox