nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Apache Create FTP File Uploading Account

This is a discussion on Apache Create FTP File Uploading Account within the Web servers forums, part of the Mastering Servers category; i install in a Redhat enterprise 3 es webserver(Apache)and i want to give access with ftp to a user for ...

Register free or login to your existing account and remove all advertisements.


Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Linux answers from nixCraft.


Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-03-2009, 08:32 PM
Junior Member
User
 
Join Date: Jul 2009
OS: Redhat
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
fadu is on a distinguished road
Default Apache Create FTP File Uploading Account

i install in a Redhat enterprise 3 es webserver(Apache)and i want to give access with ftp to a user for uploading,deleting privilage to /var/www/html/ directory only.plz tell me the prosedure.

Last edited by fadu; 07-03-2009 at 08:46 PM.
Reply With Quote
  #2 (permalink)  
Old 07-04-2009, 01:33 AM
jaysunn's Avatar
Powered By Linux
User
 
Join Date: Apr 2009
Location: 41.332032,-73.089775
OS: RHEL - OSX
Posts: 525
Thanks: 54
Thanked 66 Times in 59 Posts
Rep Power: 8
jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold
Default

You will need to install vsftpd as a ftp server for you server. You can install this as a rpm by obtaining the rpm. This is a example. There are newer releases of vsftpd.

Type this:

Code:
Prompt#wget http://www.vsftpdrocks.org/vsftpd-1.1.3-8.i386.rpm
Once you have the rpm you will need to install it.

Type this:

Code:
Prompt#rpm -ivh vsftpd-1.1.3-8.i386.rpm
If you plan to use the basic default configuration you can start the daemon:

Type this:

Code:
/etc/init.d/vsftpd start
Now create your user and set his home directory as his landing point.

Type this:

Code:
Prompt#useradd username -d /var/www/html/
Next set the password.

Type this:

Code:
Prompt#passwd username
Enter a password and attempt to login via ftp. You will have to set the directory permission to allow changes from that user:

Type this:

Code:
Prompt#chown  username:username /var/www/html
Now test.

This is just a basic setup of the vsftpd daemon. Please see the vstpd forums for more help.

Jaysunn
Reply With Quote
  #3 (permalink)  
Old 07-04-2009, 12:30 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Posts: 2,450
Thanks: 11
Thanked 189 Times in 139 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

If you are using CentOS / RHEL try:
Red Hat / CentOS VSFTPD FTP Server Configuration
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
Reply

Tags
webpage uploading problem with ftp


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Create new user account in Ubuntu Linux from command line sweta Getting started tutorials 3 02-07-2010 01:15 PM
Can't create dir/file... JATA01 CentOS / RHEL / Fedora 1 01-11-2009 04:39 AM
How to create multiple user account? droidwork Shell scripting 11 02-23-2008 02:35 PM
Linux create self signed ssl certificate for Apache httpd server raj Getting started tutorials 0 05-05-2007 02:23 AM
how to create multiple file in a single command selvam Shell scripting 3 07-26-2006 02:01 AM


All times are GMT +5.5. The time now is 05:28 PM.


Powered by vBulletin® Version 3.8.4 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38