Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001062

Re: [PHP] ADD a user in linux using PHP From: Charles Williams (hosting.mailing.list.account <email protected>)
Date: 06/29/01

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 <email protected>'
  Cc: 'php-general-help <email protected>'
  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.