Warning — Invalid account: ‘webservd’ not allowed to execute cronjobs

# crontab -l webservd
Warning - Invalid account: 'webservd' not allowed to execute cronjobs
crontab: can't open your crontab file.

Решение:

1) Делаем невозможен логин:

# grep webservd /etc/shadow
webservd:*LK*:::::::
# passwd -N webservd
WARNING: changing account in reserved uid range: webservd.
passwd: password information changed for webservd
# grep webservd /etc/shadow
webservd:*LK*NP:17142::::::

2) Разлочиваем аккаунт:

# passwd -u webservd
WARNING: changing account in reserved uid range: webservd.
passwd: password information changed for webservd
# grep webservd /etc/shadow
webservd:NP:17142::::::9280
# crontab -l webservd
crontab: can't open your crontab file.

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *


*