Hi, Thursday, October 2, 2003, 1:54:38 AM, you wrote: N> hi all;
N> - When i run php.. what user am i using ? is it apache user (nobody) ?? N> - How can i execute useradd command from php ? should i write it in N> pearl/cgi ?? N> - I want to grant my user on my web a free pop account (or webmail) so i N> need to create an user with bin/false so he has no shell login but pop login N> ... how can i do this by php.. as exec('useradd ... N> couldn't be done only by root ..... what user should i do ? what solution .. N> i googled for virtual popuser .. and i didn't manage .. so i decided to do N> it this way N> any comment ? You are better using something like vpopmail that creates virtual accounts without the need for system accounts. http://www.inter7.com/vpopmail.html needs qmail but the other mail systems can do similar things and not need system accounts. -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php