[sudo-users] non-root user needs to clear OS cache
Todd C. Miller
Todd.Miller at courtesan.com
Fri Oct 30 09:58:38 EDT 2009
In message <73b6930910291023o63d88809u2de2b63113382848 at mail.gmail.com>
so spake Rilson Nascimento (ron2):
> the non-root user needs to run something like "echo 1 >
> /proc/sys/vm/drop_caches" to clear the OS cache.
> What would be the minimal permissions in sudoers to able the non-root user
> to do that?
The easiest thing is to make a simple script that does this and
give the user sudo access to that script.
More information about the sudo-users