top delay value

Dr. Markus Waldeck waldeck at gmx.de
Tue Jan 30 16:50:32 UTC 2007


> Well, an unprivileged user can achieve the same effect by
> typing "while :; do :; done".  There are a thousand ways
> to waste CPU time, and there is no way to prevent a user
> >from doing it.

It is not the same effect.

You describe fork bombing.
Many forked processes eat up the CPU.

I could limit the number of process via 

:maxproc=100: \

in /etc/login.conf

> If you want to make top more secure, type "chmod 700 /usr/bin/top".

:-)

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


More information about the freebsd-hackers mailing list