Web Hosting Talk







View Full Version : Setting up FTP Space on Server


Matrix
06-26-2002, 10:44 AM
How do you setup a new ftp space on a dedicated server? I have webmin with other sites that have their own areas on the server and want to setup another one for a new site that i'm setting up.

Thanks

Matrix
06-26-2002, 09:22 PM
Nobody know how to tell me to do this? Or is it too complicated to explain?

What are some good basic Linux/Unix books for beginners? And I do mean simple and easy.

mkaufman
06-26-2002, 10:14 PM
There's various FTP daemons that can be used for this.

I like PureFTPd - http://www.pureftpd.org

mwatkins
06-26-2002, 10:55 PM
Most - no, virtually all, of this stuff can be found on the net.

Google is your friend.

Or, for the misspelllers:

Google is your fiend.

NixHosting
06-26-2002, 10:58 PM
Originally posted by mwatkins

Or, for the misspelllers:

Google is your fiend. [/B]

LOL good one

Ok now to help you. Are you using any control panels? If you are using CPanel all these options are a click away.

Matrix
06-26-2002, 11:48 PM
NixHosting,

Yeah I'm using webmin

priyadi
06-26-2002, 11:50 PM
Originally posted by Matrix
How do you setup a new ftp space on a dedicated server? I have webmin with other sites that have their own areas on the server and want to setup another one for a new site that i'm setting up.

Thanks

That depends a lot on your server configuration (operating system, brand of FTP server, control panels, etc). But the most common way to do this is to create a new user, assign it a password, then you will be able to logon with that username and password. But like I said it depends on your configuration, so it might or it might not work.

Matrix
06-26-2002, 11:50 PM
mkaufman,

I tried a search on google and couldnt find out any specific answers on how to do what I'm asking.

raj4800
06-27-2002, 03:41 AM
Steps to add extra user:

~# /usr/sbin/useradd -G $group $user
~# cd /home
If the user that you just created is listed in the /home directory, remove it from there:
~# rm -R $user
~# ln -s /home/$mainuser/$domain-www/$directory $user
~# chmod 775 $directory
~# chown $user.$group $user
~# passwd $user
Changing password for $user
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
New password:
Re-enter new password:
Password changed.
~#

Where:

$group = The group name for the domain
$password = The password for the new user
$user = The new user name
$mainuser = The user name that owns the domain
$domain = The domain name (without .com, .net, .org, etc.)
$directory = The name of the directory to which the new user should have access.

Note: the -p switch on the useradd command did not set the password as desired in our testing that is why we do not use the switch, but rather manually set the password.

raj4800
06-27-2002, 08:35 AM
PHPEManager is simple script for creating web space, ftp account, mail etc...

you can download @ http://www.stiawan.net/