Why not !
try
catch { exec adduser -d dir_name login_name }
-----------
I reckon apache ( using webpage ) user group has the permission to create new user. I have done this b4. If not , you perhaps can give root permission to apache. Which is not safe.... :(
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.