3
If a user is disabled (with passwd -l user) on a server, are their cron jobs also disabled?
passwd -l user
Or would they still run?
bsmoo
Posted 2013-07-16T08:43:11.393
Reputation: 185
5
They should not run.
From the manpage of cron(1):
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.
cron
at
shadow(4)
slhck
Reputation: 182 472
Asked: 2013-07-16T08:43:11.393
Viewed: 1 195 times
Active: 2014-03-15T06:21:31.850