RE: [PHP] Creating mail account on Linux server
| From: | Dan Hardiker | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | RE: [PHP] Creating mail account on Linux server | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96441@lists.php.net to get a copy of this message | ||
> I can create the popuser account, but my problem comes with setting the
> password. I realize that when you do a "useradd" command you can
> specify a -p option for password, but it hasn't worked for me. Is
> there a better way then calling system commands?
PLEASE tell me your aware that the "useradd" command will add a unix user,
not just for mail - but for access to the machine itself over a terminal
(SSH / Telnet / whatever else you may have left open)... and should the
script your trying to make ever be exploited, that the hacker could then
very easily create a user account on your system and then just walk
straight in??
Given your current attitude (and awareness) of security, I doubt that it
would take long for your machine to be anhilated.
--
Dan Hardiker [dhardiker@staff.firstcreative.net]
ADAM Software & Systems Engineer
First Creative Ltd