I want to enable user - "Ertop" to delete any file or directory under /var/log/http by update the visudo
I have redhat machine version 6.x
user name is Ertop
I set the following in visudo but not sure it this syntax is ok
Ertop ALL=(root) NOPASSWD: rm -rf /var/log/http/*
or
Ertop ALL=(root) NOPASSWD: sudoedit /var/log/http/*