Displaying 2 results from an estimated 2 matches for "ps_showallproc".
Did you mean:
ps_showallprocs
2004 Feb 29
2
procfs + chmod = no go
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
2003 Apr 06
1
load testing and tuning a 4GB RAM server
...rn.maxswzone=33554432
kern.nbuf=16384
kern.ncallout=32768
kern.vm.kmem.size=268435456
kern.vm.pmap.shpgperproc=2048
net.inet.tcp.tcbhashsize=16384
Contents of /etc/sysctl.conf:
kern.ip.somaxconn=4096
vm.v_free_min=131072
vm.v_free_target=262144
vm.f_free_reserved=32768
vm.v_free_severe=65536
kern.ps_showallprocs=0
Some info from kernel config:
maxusers 0
options KVA_PAGES=512
options NSWAPDEV=1
(the rest is pretty much my hardware, firewall and other irrelevant stuff)
This has been copied by hand as the machine is not networked yet, so
please excuse any possible typos.
The system does a make -j8 world...