Account creation Sudo enabled

Hi, how to create account with the following

be cron enabled
only accessible via sudo

For this you should add the username into cron.allow whichever it is (depending on your OS)

Mmmm... assuming that this user is locked (you cannot login with him/her, just like a system user), you should add sth like this to your /etc/sudoers

your_user ALL=NOPASSWD:su - the_user

Regards.