new virtualhost - creating options question

Discussion in 'General' started by shrek, Jun 23, 2009.

  1. shrek

    shrek New Member

    hi, I need to add default mycompany ftp access account to every added site and i want to do it automatically. I have spent few hours searching where are adeed new users for a web,

    simply i need to add users like mydomain_clientdomain, with root of /var/www/webxx beeing an user webxx user only and then adding passwords for them ( so echo or adduser + passwd ). Where do i have to search it? i looked threw config.lib.php but I didn';t managed to find where it is added.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. shrek

    shrek New Member

    theres no functions for this but there are functions that create webs in config.lib.php and other files, something creates user webxx:webxx i need to duplicate that function. With other data
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats not correct. Look at the remoting framework. You can not use or execute functions from config.lib.php in other files or you mwill mess up your complete setup. config.lib.php contians functions that were executed by the ispconfig server script based on the database, it does not contain functions to add something!
     

Share This Page