shell("sudo useradd -g users -s /bin/false -p TESTUSER9 TESTUSER9") //Hopefully?
Problem description:
It's simply not working. Well, it may be working, but I can't log in to the mailserver using the login and it doesn't create a /home/ directory.
I've added www-data to the sudoers file, and added useradd command to the sudoers file. Technically it should work, as far as I know. I've never really done much with shell() and linux, so I don't know.
Am I doing anything wrong?
For those who lack the 'blindingly obvious' gene, the point of the command is to add a user to be used with the mailserver.