Re: access to proc filesystem from chrooted process

Fuzzy Fox (fox@dallas.net)
Mon, 24 May 1999 23:21:03 -0500


Richard B. Johnson <root@chaos.analogic.com> wrote:
>
> Yes. The proc file-system can be mounted multably. You can check this
> out if you have a ftp server installed.
>
> cd /home/ftp
> mkdir proc
> mount proc proc -t proc
>
> Now execute anonymous ftp. You can `chdir` to what now looks like
> `/proc` in the chrooted environment and get the directory.

Perhaps it should be mentioned that making the /proc filesystem's
contents available to an anonymous ftp server would seem to be a
security hole, leaking far more information than might be prudent for
such a server.

-- 
   fox@dallas.net (Fuzzy Fox)      || "Nothing takes the taste out of peanut
sometimes known as David DeSimone  ||  butter quite like unrequited love."
  http://www.dallas.net/~fox/      ||                       -- Charlie Brown

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/