Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jan 2007 00:34:48 -0800
From:      perryh@pluto.rain.com
To:        kirk@strauser.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD File System, please help
Message-ID:  <45a353a8.0BHW%2BIfRuDsamdPK%perryh@pluto.rain.com>
In-Reply-To: <200701081245.11217.kirk@strauser.com>
References:  <2cd0a0da0701080629k274d8ac2h97addec1391e4932@mail.gmail.com> <17826.23487.564492.142014@jerusalem.litteratus.org> <45a287a9.xX%2BLU9dejjQRQovE%perryh@pluto.rain.com> <200701081245.11217.kirk@strauser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kirk Strauser <strauser.com!kirk@agora.rdrop.com> wrote:

> On Monday 08 January 2007 12:04 pm, perryh@pluto.rain.com wrote:
>
> > Such a report will be incomplete if the system in question is an
> > NIS client.  For starters, see yp(8).
>
> Would "getent passwd" and "getent group" be more definitive?

No idea.  There is no manpage for getent on my (6.1) system, so
I don't know what it might do.  ("apropos getent" finds cgetent(3),
kgetent(3), and tgetent(3), which do not seem likely to be
applicable since they have to do with termcap-style databases.)

Did you maybe mean getpwent(3) and getgrent(3)?  Those don't seem
all that promising either, if you believe the BUGS parts of their
manpages.  For example, from getgrent(3):

   The functions getgrent(), ... are fairly useless in a
   networked environment and should be avoided, if possible.

I would guess that "ypcat passwd" and "ypcat group" might be useful.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45a353a8.0BHW%2BIfRuDsamdPK%perryh>