LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-02-2010, 02:58 AM   #1
salimshahzad
Member
 
Registered: Dec 2009
Posts: 200

Rep: Reputation: 15
ftp vsftp creating account with full permission


hello gurus

i want to create a new account for vsftpd server, say ftpuser1 is userid and password is abc123

i want to give full permission to a directory

/documents

where user can add,edit,delete document easily via ftp connection.

rest no other ftp users i want to connect it. how best it can be achive what i need to do it.

i have install ftp server in centos 5.5

thanks and best regards
 
Old 10-02-2010, 03:05 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
I think chroot environment help you.

take a look for to create chroot vsftpd

Regards,
 
Old 10-02-2010, 09:15 AM   #3
valen_tino
Member
 
Registered: Jan 2008
Posts: 105

Rep: Reputation: 28
chroot_local_user will jail the user in his home directory. In this case the user be jailed to /home/ftpuser1 and the user will not be able to get to /documents.

In order to access this folder I can think of 2 options. You can try either one that suits your needs:

1. Make ftpuser1 the owner of the /documents folder. This will still allow the user to browse through other files on the system
2. Change the default home of ftpuser1 from /home/ftpuser1 to /documents and then chroot_local_user. This will jail the user within /documents.

Last edited by valen_tino; 10-02-2010 at 09:19 AM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftp permission prayag_pjs Linux - Newbie 1 11-11-2009 11:59 PM
vsFTP permission problem PhillipHuang Red Hat 2 12-31-2006 11:57 PM
is it legitimate and allowed and can be done to make another user account set uid and gid to null 0 to make another root account with different name and possibly not damage the debian system creating and using that new account BenJoBoy Linux - Newbie 12 01-29-2006 10:02 AM
Creating VSFTPD Full permission User to /var/www/html vibin Linux - General 5 01-03-2006 02:32 AM
creating a secure ftp-based backup account? evank Linux - Security 3 11-30-2005 12:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration