Hi Everyone... I've been asked to do a cgi in perl that will create and delete user accounts..
So I've setuid a script, but can't get it to add users using a system call..
system("/usr/sbin/useradd", "-g 45 -s /bin/false -d /home/popusers/users/goresmail/<userid here>");
The apache error log is saying there no such group 45, when there is.. The command works fine at the command line, I'm just stuck as to what I'm missing or doing wrong...
TIA
Simon