From owner-freebsd-questions Thu Dec 17 18:56:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA00725 for freebsd-questions-outgoing; Thu, 17 Dec 1998 18:56:21 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from n4hhe.ampr.org (tnt2-57.HiWAAY.net [208.147.148.57]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA00718 for ; Thu, 17 Dec 1998 18:56:12 -0800 (PST) (envelope-from dkelly@n4hhe.ampr.org) Received: from n4hhe.ampr.org (localhost.ampr.org [127.0.0.1]) by n4hhe.ampr.org (8.9.1/8.9.1) with ESMTP id UAA02591 for ; Thu, 17 Dec 1998 20:23:44 -0600 (CST) (envelope-from dkelly@n4hhe.ampr.org) Message-Id: <199812180223.UAA02591@n4hhe.ampr.org> X-Mailer: exmh version 2.0.2 2/24/98 To: freebsd-questions@FreeBSD.ORG From: David Kelly Subject: Re: Basic Security Question In-reply-to: Message from Greg Lehey of "Thu, 17 Dec 1998 14:05:44 +1030." <19981217140544.Z486@freebie.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 17 Dec 1998 20:23:44 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Lehey writes: > Interesting question. In fact, there isn't much in /etc that needs to > be user-readable. /etc/passwd springs to mind (some programs still > read user data out of it; "/bin/ls -l" comes to mind as a program that reads /etc/passwd. Except apparently under FreeBSD. I just removed read from group and other on /etc/passwd and "ls -l" still expanded user ID's to usernames. Guess the library was reading /etc/pwd.db. OTOH if /etc/passwd isn't readable in SGI's Irix, "ls -l" lists user ID numbers, not names. -- David Kelly N4HHE, dkelly@nospam.hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message