I have a linux machine at home and want to add users using a php script.
The syntax I'm using is
system('/usr/sbin/useradd-s /bin/false $user >/dev/null');
system('/usr/bin/autopasswd $user $password >/dev/null');
$user and $password are input by the browser and are unique
The problem is it doesn't add the user to my linux box. Does anyone have any suggestions
Can some please help me here
Thankx and regards
Razymon😕