procfs + chmod = no go

Jimmy Scott admin at inet-solutions.be
Sun Feb 29 12:14:35 PST 2004


Hello,

I was wondering if it was possible to limit user access on /proc
without having to use securelevels.
For some reason chmod 751 /proc (or 750) does nothing.

Is this possible on FreeBSD 4.9 ? Can't find anything about it in the
manual pages. Just want to prevent lusers from running:

for file in /proc/*/cmdline; do cat $file; echo; done


Greetz,


Jimmy Scott


More information about the freebsd-security mailing list