Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Sep 1997 11:27:49 +0930
From:      Greg Lehey <grog@lemis.com>
To:        David Langford <langfod@dihelix.com>
Cc:        FreeBSD Questions <questions@FreeBSD.org>
Subject:   Re: Hiding user directories without breaking ftp?
Message-ID:  <19970913112749.41281@lemis.com>
In-Reply-To: <199709130155.PAA07504@caliban.dihelix.com>; from David Langford on Fri, Sep 12, 1997 at 03:55:43PM -1000
References:  <19970913110700.21980@lemis.com> <199709130155.PAA07504@caliban.dihelix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 12, 1997 at 03:55:43PM -1000, David Langford wrote:
>> Try:
>>
>> $ cat /etc/passwd
>>
>> That's much easier and more revealing than finding the directories,
>> which don't give you much information about the name of the person.
>>
>> Before you ask, no, you can't make /etc/passwd non-accessible.  Too
>> many programs use it.  That's why the system uses different files for
>> the password information.
>
> Gee now you tell me. Silly me for running my servers with a dummy /etc/passwd
> this past year. Never had a program look for it yet.

Or you didn't notice.  But it's interesting that you can get away that
easily.  I didn't expect that (obviously).

Greg



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