1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Rep Power
    I want to create a site which provides web based mail something like yahoo,hotmail....
    By using php i was able to read and send mail.But i was not able to create a new mail account for the users who come and register in my site.Somebody gave me a sugesstion that we can execute the
    system commands in php.I just tried this but it doesn't work
    " $val=system("vadduser hari"); "
    If anyone know how to do that in php it will be a great help for me.
    Thanks in advance.
  2. #2
  3. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    I'm working on this too. This is also my problem.
    I heard of that it is nearly impossible!
    May u get answer quickly!
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Rep Power
    hari, it is adduser not vadduser. Second, if I know my UNIX acces to that command is limited to root. PHP is run under the Apache suer privligies, which is usually "nobody", so it cannot access that command.

    One solution: write a suid program to take care of this. You will have to ask someone else about this, though, because I don't know how to do this...

    [This message has been edited by dwarf (edited July 30, 2000).]

Similar Threads

  1. RH Linux 9 and Windows XP Prof.
    By pkp413 in forum Linux Help
    Replies: 6
    Last Post: March 6th, 2004, 06:37 AM
  2. Linux gone from Lilo; can't boot into Linux
    By owh in forum Linux Help
    Replies: 0
    Last Post: November 12th, 2003, 06:12 PM
  3. RH Linux 9 and Promise ATA RAID
    By Phaethar in forum Linux Help
    Replies: 0
    Last Post: September 29th, 2003, 03:44 PM
  4. Replies: 4
    Last Post: September 3rd, 2003, 04:34 PM
  5. Windows XP to Linux Networking
    By madman01 in forum Networking Help
    Replies: 3
    Last Post: August 14th, 2003, 02:55 AM

IMN logo majestic logo threadwatch logo seochat tools logo