woody79 Posted July 20, 2007 Share Posted July 20, 2007 Using the system(),exec(),shell_exec(),etc functions, is there anyway to create a new user? Link to comment https://forums.phpfreaks.com/topic/60944-new-user-using-system/ Share on other sites More sharing options...
hvle Posted July 20, 2007 Share Posted July 20, 2007 try: chmod 4700 myscript.php; // to make script run as root shell_exec("useradd ...."); maybe it work, as far as I assume. hehe. Link to comment https://forums.phpfreaks.com/topic/60944-new-user-using-system/#findComment-303252 Share on other sites More sharing options...
woody79 Posted July 21, 2007 Author Share Posted July 21, 2007 thank you Link to comment https://forums.phpfreaks.com/topic/60944-new-user-using-system/#findComment-303959 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.