4

If a user is disabled (with passwd -l user) on a server, are their cron jobs also disabled?

Or would they still run?

0

1 Answer 1

6

They should not run.

From the manpage of cron(1):

cron and at jobs will be not be executed if the user’s account is locked. Only accounts which are not locked as defined in shadow(4) will have their job or process executed.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .