Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2004
    Posts
    33

    technical problem

    does control panel or WebMin provide a sort of API wich i'll call with my php page to add/remove users from my /etc/passwd file

  2. #2
    Join Date
    Jul 2002
    Location
    Kuwait
    Posts
    10,620
    cpanel has API to add and remove accounts, not sure about webmin.

    but you can use php to run system commands to add/remove users using command line commands like useradd and userdell etc..
    Bashar Al-Abdulhadi - KuwaitNET Internet Services Serving customers since 1997
    Kuwait's First Webhosting and Domain Registration provider - an ICANN Accredited Registrar

    Twitter: Bashar Al-Abdulhadi

  3. #3
    Join Date
    Mar 2004
    Posts
    33
    i use php safe mode set to ON so i cant use any unix command

  4. #4
    Join Date
    Jul 2002
    Location
    Kuwait
    Posts
    10,620
    use perl then
    Bashar Al-Abdulhadi - KuwaitNET Internet Services Serving customers since 1997
    Kuwait's First Webhosting and Domain Registration provider - an ICANN Accredited Registrar

    Twitter: Bashar Al-Abdulhadi

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •