Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199901

Re: [PHP3] Online signup page???? From: Andrew Chen (achen <email protected>)
Date: 01/03/99

What you could try doing is if Apache is started on it's own account
(apache) then you could add a sudo entry and then call system to call
passwd. It's kind of annoying that you have to do this, but probably it's
the most secure way without actually going through each entry by hand.
It's still kind of a security risk though, since if someone achieved
apache or someone hacked the access stuff on the webpage, they could
arbitrarily create a user for themselves and it wouldn't really seem
abnormal.

Andrew

On Sun, 3 Jan 1999, Bill Neely wrote:

> Has anybody written an online signup page using php that you would be
> willing to share?
>
> I need for the page user to be able to put in a username which would be
> passed to the unix useradd routine and a password that would be passed
> to the unix passwd routine.
>
> I figured out the useradd part, but I can't get past the restrictions to
> superuser on the passwd routine.
>
> Any thoughts or codes nips would be appreciated.
> --
> Bill
> Global Communication Technologies
> Div. of Typography Express, Inc.
> (707) 586-3538
> http://www.gct-us.com
>
> --
> PHP 3 Mailing List http://www.php.net/
> To unsubscribe send an empty message to php3-unsubscribe <email protected>
> To subscribe to the digest list: php3-digest-subscribe <email protected>
> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3
> List administrator: zeev <email protected>
>
>
>

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev <email protected>