Re: top delay value
- From: Dan Nelson <dnelson@xxxxxxxxxxxxxxx>
- Date: Tue, 30 Jan 2007 09:26:34 -0600
In the last episode (Jan 30), waldeck@xxxxxx said:
An unprivileged user could waste all CPU time by setting a low delay
value in top (interactive or via -s).
Are you sure? In 6.2 at least, "s0" in interactive mode results in a
1-second delay, and "top -s0" prints
top: warning: seconds delay should be positive -- using default
....
What version of FreeBSD are you seeing this on?
Is there any possibility to deactivate this functionality without
recompilation?
There are other top implementations that use a "secure mode"
configuration which avoids the setting of the delay value for
unprivileged users.
Users can hog CPU by running "while true ; do done" or any number of
other methods. That's what CPU limits are for :)
--
Dan Nelson
dnelson@xxxxxxxxxxxxxxx
_______________________________________________
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: Stephen Montgomery-Smith
- Re: top delay value
- References:
- top delay value
- From: waldeck
- top delay value
- Prev by Date: Re: top delay value
- Next by Date: Re: top delay value
- Previous by thread: Re: top delay value
- Next by thread: Re: top delay value
- Index(es):