I'm attempting to batch create some users from a file using the newusers
util on ubuntu 18.
When running in cron as the root user, nothing happens. When I run the command manually, it works as expected and creates the users in the file. Heres my crontab, running every minute to test:
*/1 * * * * newusers /tmp/ftp_users.txt
Running it manually like this is fine newusers /tmp/ftp_users.txt
.
I have no idea what I'm missing to get this command to run in cron.