From owner-freebsd-questions@FreeBSD.ORG Tue Jan 9 14:36:12 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 3104816A5B1 for ; Tue, 9 Jan 2007 14:36:12 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.freebsd.org (Postfix) with ESMTP id DBCF713C461 for ; Tue, 9 Jan 2007 14:36:11 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id 1E8E220B402; Tue, 9 Jan 2007 08:36:11 -0600 (CST) X-Virus-Scanned: amavisd-new at honeypot.net Received: from kanga.honeypot.net ([127.0.0.1]) by localhost (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cn5G6cVxonZc; Tue, 9 Jan 2007 08:36:05 -0600 (CST) Received: from janus.daycos.com (janus.daycos.com [10.45.12.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTP id 255FD20628A; Tue, 9 Jan 2007 08:36:05 -0600 (CST) From: Kirk Strauser To: freebsd-questions@freebsd.org Date: Tue, 9 Jan 2007 08:35:57 -0600 User-Agent: KMail/1.9.5 References: <2cd0a0da0701080629k274d8ac2h97addec1391e4932@mail.gmail.com> <200701081245.11217.kirk@strauser.com> <45a353a8.0BHW+IfRuDsamdPK%perryh@pluto.rain.com> In-Reply-To: <45a353a8.0BHW+IfRuDsamdPK%perryh@pluto.rain.com> X-Face: T+/_{qmjgbosI0J/e83I~w[&VF'w)!((xEpj///^bA/6?jHHS?nq+T8_+`nh"WnEWCWG, \}]Y2$)) =?utf-8?q?vLVz4ACChrEcb=7DCO=5EtYmMG=5C=0A=09ts=2Em=3F=5B7=5B6OwE*dAJ*9f+m?= =?utf-8?q?X=2E7R32qeN=5EDJ=5C?=(k@evW?IRQCy.^ MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4081109.hzG8fejn6H"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200701090836.03608.kirk@strauser.com> Cc: perryh@pluto.rain.com 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 14:36:12 -0000 --nextPart4081109.hzG8fejn6H Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 09 January 2007 2:34 am, you wrote: > No idea. There is no manpage for getent on my (6.1) system, so > I don't know what it might do. Maybe it's new (to FreeBSD) as per 6.2. Anyway: =2D---------------------- SYNOPSIS getent database [key ...] DESCRIPTION The getent program retrieves and displays entries from the=20 administrative database specified by database, using the lookup order specified in nsswitch.conf(5). The display format for a given database is as per=20 the ``traditional'' file format for that database. =2D---------------------- Example: $ getent passwd root:*:0:0:System Administrator:/root:/usr/local/bin/zsh rootcsh:*:0:0:Charlie &:/root:/bin/csh daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin operator:*:2:5:System &:/:/usr/sbin/nologin bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin This has the huge benefit of fully supporting nsswitch, so the same command= =20 fetches *all* of your accounts, including those in NIS/YP and LDAP. =2D-=20 Kirk Strauser --nextPart4081109.hzG8fejn6H Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iD8DBQBFo6hT5sRg+Y0CpvERAgGUAJ4v4VBleZf/jIjB62mh1d51/AJ8hACaAmSy 9HX1fZUq+YrWI0MvVi1sC20= =TNxa -----END PGP SIGNATURE----- --nextPart4081109.hzG8fejn6H--