Warning - Invalid account: 'sys' not allowed to execute cronjobs

In Solaris 11

error when try to enable / set cronjob for a user.
root@abc:/etc/cron.d# crontab -e sys
Warning - Invalid account: 'sys' not allowed to execute cronjobs

Pls check if the account has been locked, unlock it as below and retry
root@abc:/var/adm/sa# grep sys /etc/shadow
sys:*LK*NP:6445::::::

root@abc:/var/adm/sa# passwd -u sys
WARNING: changing account in reserved uid range: sys.
passwd: password information changed for sys


No comments: