Date: Tue, 30 Jan 2007 16:21:34 +0100 (CET) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-hackers@FreeBSD.ORG, waldeck@gmx.de Subject: Re: top delay value Message-ID: <200701301521.l0UFLYgE055509@lurza.secnetix.de> In-Reply-To: <20070130140227.26613101832@hk2.uwaterloo.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
waldeck@gmx.de wrote: > An unprivileged user could waste all CPU time by setting a low delay > value in top (interactive or via -s). 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. > There are other top implementations that use a "secure mode" configuration > which avoids the setting of the delay value for unprivileged users. Really? I don't think such a function has got anything to do with being more "secure". If you want to make top more secure, type "chmod 700 /usr/bin/top". Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, USt-Id: DE204219783 Any opinions expressed in this message are personal to the author and may not necessarily reflect the opinions of secnetix GmbH & Co KG in any way. FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd Perl is worse than Python because people wanted it worse. -- Larry Wall
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701301521.l0UFLYgE055509>