How do I deny / allow access to at and batch jobs in Linux?



  • To deny a user access to the at/batch facility, add the user name to /etc/at.deny, as root. If the file doesn't exist, create it.

    To allow a user access to the at/batch facility, add the user name to /etc/at.allow, as root. If the file doesn't exist, create it.

    Enter one user name per line. No spaces.

    If /etc/at.allow exists, users listed in that file are allowed to use at/batch and /etc/at.deny is ignored.
    If /etc/at.allow doesn't exist, users listed in /etc/at.deny are not allowed to use the at/batch facilities.

    It is not necessary to restart cron after modifying /etc/cron.deny or /etc/cron.allow


Log in to reply
 

© Lightnetics 2024