Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 1998 20:23:44 -0600
From:      David Kelly <dkelly@hiwaay.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Basic Security Question 
Message-ID:  <199812180223.UAA02591@n4hhe.ampr.org>
In-Reply-To: Message from Greg Lehey <grog@lemis.com>  of "Thu, 17 Dec 1998 14:05:44 %2B1030." <19981217140544.Z486@freebie.lemis.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812180223.UAA02591>