I want to add a script to my crontab to delete some logs that grow
very quickly on a weekly basis. Unfortunatlty when the files are
created only root has the delete privledges. How can I run a script
from a regular users login that will change to super user, delete the
files then change back?
very quickly on a weekly basis. Unfortunatlty when the files are
created only root has the delete privledges. How can I run a script
from a regular users login that will change to super user, delete the
files then change back?