ispCP - Board - Support
FTP Usernames? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: FTP Usernames? (/thread-7657.html)

Pages: 1 2


RE: FTP Usernames? - joximu - 09-14-2009 05:22 PM

There are thoughts about changing the login (not the same as domain) - but until then, we have to live with this. It's a "gift" from the former project vhcs :-/

It's important that the whole registration works automatically - therefore either generate numerated logins (webusr001, webusr002, etc) or take the domain name - bth ways have positive and negative sides...
If there is also a username then there must be a control that it is impossible to use the same username twice. If a client needs koza.net and I make the username koza then the next client who want's koza.com has to live with something like koza2 or kozacom (but then again: if someone has kozacom.org....) - you see, it's not that easy!

/J


RE: FTP Usernames? - tytanick - 09-14-2009 08:42 PM

Hmmm, yeah nice gift Big Grin
And you have a point about this koza.net and koza.com thing ...
But i see the solution:

Main Hosting domain is ispcp.com
Creating account - just username for example: "john"
Automaticly there is creating subdomain for this user: john.ispcp.com
and login for ispcp panel would be simple: "john"
This "john" user can add domain koza.com and even koza.net but login name for ispcp panel would be still "john".
He can create ftp user for his domain koza.com: ftp://admin@koza.com
and also ftpuser for main domain would be: ftp://admin@john.ispcp.com
Am i missing something ?


RE: FTP Usernames? - joximu - 09-14-2009 08:51 PM

Hi

if there are two customers named john, then we have to decide (->human, not automatically) what we are doing... "john2" is not the best idea.

a simple ftp user named "admin" cannot be used for two host names/domain names. Simple explenation: ftp does not know which domain you want. FTP is IP based.
so you only can try to use several admin usernames with different passwords - but if they randomly use th same password, then we have two identically ftp login entries...

so - we need unique ftp logins! best solution: integrate the domain name in the login (this can also be in another way, eg: ftp#domain.tld - you can change this in the ispcp.conf)

/J