Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was tring to run anacron as non root. But my RHEL doens't have -S option on anacron. Since the default spool directory for anacron is /var/spool/anacron, does it mean as a non root user, I can't run anacron since I don't have write permissions to it? Thanks,

Here is the man page for anarcon on my RHEL.

NAME anacron - runs commands periodically

SYNOPSIS anacron [-s] [-f] [-n] [-d] [-q] [-t anacrontab] [job] ... anacron -u [-t anacrontab] [job] ... anacron [-V|-h]

share|improve this question
up vote 4 down vote accepted

If you want anacron to run as a non-privileged user, you'll need to use an existing user or create an anacron user and set the anacron spool to this non-privileged user.

# useradd anacron
# groupadd anacron
# chown root.anacron /var/spool/anacron
# chmod g+w /var/spool/anacron
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.