Adding linux users via a php script?
Posted: Mon Apr 04, 2005 2:42 am
While I'm sure it would be fairly simple (and hella insecure) to simply have a php script take data from form, and pass it through a bash script (sudo useradd etc.), is there a way to do this WITHOUT using:
exec,shell_exec,dir,readfile,dl,passthru,popen,chown,phpinfo,chown,system
All of which I've disabled for security reasons. (I may one day change php's group to users so I can enable these, and keep it so users can't use exec to view things they shouldn't in /home)
exec,shell_exec,dir,readfile,dl,passthru,popen,chown,phpinfo,chown,system
All of which I've disabled for security reasons. (I may one day change php's group to users so I can enable these, and keep it so users can't use exec to view things they shouldn't in /home)