From owner-freebsd-questions@FreeBSD.ORG Tue Jan 9 08:39:11 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2351116A415 for ; Tue, 9 Jan 2007 08:39:11 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id 043EB13C458 for ; Tue, 9 Jan 2007 08:39:10 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id l098dAmF034142 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 9 Jan 2007 00:39:10 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id l098dAqe034140; Tue, 9 Jan 2007 00:39:10 -0800 (PST) Received: from fbsd61 ([192.168.200.61]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA14750; Tue, 9 Jan 07 00:32:05 PST Date: Tue, 09 Jan 2007 00:34:48 -0800 From: perryh@pluto.rain.com To: kirk@strauser.com Message-Id: <45a353a8.0BHW+IfRuDsamdPK%perryh@pluto.rain.com> References: <2cd0a0da0701080629k274d8ac2h97addec1391e4932@mail.gmail.com> <17826.23487.564492.142014@jerusalem.litteratus.org> <45a287a9.xX+LU9dejjQRQovE%perryh@pluto.rain.com> <200701081245.11217.kirk@strauser.com> In-Reply-To: <200701081245.11217.kirk@strauser.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD File System, please help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jan 2007 08:39:11 -0000 Kirk Strauser 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.