Re: ADD a user in linux using PHP
| From: | Charles Williams | Date: | Sat, 30 Jun 2001 01:19:53 +0000 |
| Subject: | Re: ADD a user in linux using PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55634@lists.php.net to get a copy of this message | ||
ADD a user in linux using PHPsure, I use a small C program I wrote and set to setuid root. that way
I can hide it and it all works good with an exec call from php. I wouldn't advise setting
setuid adduser to root. It's way too dangerous.
chuck
----- Original Message -----
From: Bruno Freire
To: 'php-general@lists.php.net'
Cc: 'php-general-help@lists.php.net'
Sent: Thursday, June 28, 2001 4:30 PM
Subject: [PHP] ADD a user in linux using PHP
Hi! I'm Bruno, from brazil....
Somebody knows how to create a new user in LINUX (not http server) using PHP?
Something like useradd and passwd....
Thanks,
Bruno.