mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
3730283031
PR: 12972 Submitted: stanislav shalunov <shalunov@tuzik.lz.att.com>
14 lines
454 B
Plaintext
14 lines
454 B
Plaintext
The utility stmpclean securely deletes old files from directories
|
|
such as /tmp and /var/tmp.
|
|
|
|
Combining find and rm (possibly with xargs) for this purpose allows
|
|
a local attacker to delete any file on the system. It is a security
|
|
hole.
|
|
|
|
Using one of the nifty floating around Perl scripts for this purpose
|
|
is dangerous: when you have an attack they have a tendency to behave
|
|
like forking bombs, making matters much worse.
|
|
|
|
--Stanislav
|
|
shalunov@mccme.ru
|