Web Hosting Talk







View Full Version : Adding Users To Domain With CPANEL


ACHOST
02-19-2002, 12:04 PM
Hello,

I was wondering if someone could tell me how to add users to a sub domain. I use CPANEl and WHM and this is what I want to do,

I want to have 1 domain name but I then want to add users to a sub domain and allow ftp access only to that sub domain.

Ex:
when user:test logs in he goes directly to the sub domain test.xxx.com with no access to the domain except his sub domain. Also is their a way to limit his account size and bandwidth?

I would appreciate anyones help

Thank You
Doug

Jedito
02-19-2002, 12:39 PM
is it your server?
If so, just edit /etc/proftpd/username
You'll see something like this
username:657.1OuZoSCI6:32003:504:username:/home/username/public_html/username:/bin/ftpsh

Change the path of the text on bold

ACHOST
02-19-2002, 01:06 PM
No it isnt my server. I have ssh access but not root. In my cpanel when I go to set up ftp accounts it tells me I can have them point to sub domains. I am just not sure how. Will I need root access?

Doug

Jedito
02-19-2002, 01:10 PM
Oh, sorry, I misunderstood your question

you need to create a ftp account with the same name than the subdomain

Ex
subdomain: test.domain.com
FTP account must be: test

To login to the ftp account you must use test@yourdomain.com

ACHOST
02-19-2002, 01:35 PM
Thank for the quick help. Do you know if their is a way to control the size of the ftp account. so they would only be able to have about 10 mgs of space.

you need to create a ftp account with the same name than the subdomain

Does this mean I create the ftp account first or the sub domain or it doesnt matter?

And also could they log in using an ftp client like ws_ftp?

Thanks Again
Doug

Jedito
02-19-2002, 01:37 PM
As far as I know it's impossible to set limits to subdomain, not in space neither in BW.
And yes, you can use any FTP client

ACHOST
02-19-2002, 01:45 PM
Thanks Again For your help. Does it matter which I create first either the sub domain or the ftp account?

Doug