Re: top delay value
- From: Oliver Fromme <olli@xxxxxxxxxxxxxxxxx>
- Date: Tue, 30 Jan 2007 16:21:34 +0100 (CET)
waldeck@xxxxxx 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
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: top delay value
- From: Dr. Markus Waldeck
- Re: top delay value
- References:
- top delay value
- From: waldeck
- top delay value
- Prev by Date: top delay value
- Next by Date: Re: top delay value
- Previous by thread: top delay value
- Next by thread: Re: top delay value
- Index(es):