ispCP - Board - Support
how can i manually create an user - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Small Talk (/forum-20.html)
+--- Thread: how can i manually create an user (/thread-8297.html)



how can i manually create an user - YourDoom - 11-01-2009 05:38 PM

hi
sorry for this question (i know you dont like to answer), but i want create a smaller control panel wich works with ispcp (ispcp is in background).
i have a skript wich creates an user + ftp account and i only need how to "connect" a domain to a ftp account
e.g. domain.tld connect to ftp "domain".
it all works but i have only problems with apache (domain-connections).

or is there any way to insert anything in mysql and a cronjob do that for me? or can i include i file, wich can make it easier?

thanks for any help


RE: how can i manually create an user - kilburn - 11-01-2009 07:25 PM

Quote:i know you dont like to answer
?

Quote:i have a skript wich creates an user + ftp account and i only need how to "connect" a domain to a ftp account
e.g. domain.tld connect to ftp "domain".
FTP users are stored in the tables "ftp_group" and "ftp_users", and proftp is configured to read them directly from there. Thus, you only need to create the entries there (with the proper uid, gid and homedir).


RE: how can i manually create an user - YourDoom - 11-01-2009 09:06 PM

hi
no i dont mean that ^^
but i have a new problem.
i have add a user and apache give me an error:
bad group name vu2013
i have edit passwd and shadow and ispcp.conf
why he give me an error?

edit: ok i found it... "group" need the vu2013 row ^^