Add linux user through php

[2008/05/07 17:54 | 分类: PHP | by kukat ]
Warning, this is NOT safe way!

First, Make sure that your php is NOT running under safe_mode (check your php.ini)

useradd.php


change attribute for useradd.php



Add this line, "www-data" is the apache user


# Pass the test via Archlinux+apache2.2.8+php5.25

Tags: , ,
Comments(0) | Trackbacks(0) | Reads(159)
Add a comment
Nickname [Register]
Password Optional
Site URI
Email
Enable HTML Enable UBB Enable Emots Hidden Remember