LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-23-2011, 11:15 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 30
ftp user


I use proftp server in my linux server , I have added many users and divided them by groups ,

Now , the user login to the ftp server , they can see all directories of the same group ,

if I want to set the user directly connect to his own directory and can not cd to other user directory , can advise what can i do ?

thanks.
 
Old 08-23-2011, 11:33 AM   #2
Zatarra
LQ Newbie
 
Registered: Aug 2011
Posts: 8

Rep: Reputation: 0
Try to set the chroot to yes (true)

VIRTUALCHROOT=true

After that the users can browse all directories included in their home directory ONLY

Post again if something goes wrong
 
Old 08-23-2011, 11:48 AM   #3
Lexus45
Member
 
Registered: Jan 2010
Distribution: Debian, Centos, Ubuntu, Slackware
Posts: 361
Blog Entries: 3

Rep: Reputation: 48
http://proftpd.org/localsite/Usergui...ot.html#AEN715
http://proftpd.org/docs/howto/Chroot.html

Code:
DefaultRoot ~

Means that the user will be locked in his home directory.

Last edited by Lexus45; 08-23-2011 at 11:49 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ftp user can't create a directory on ftp server bharatlalgupta Red Hat 4 01-27-2010 02:58 PM
[SOLVED] vsftpd: FTP clients work, ftp://xxxx in mozilla does not. Anonymous user prob? arashi256 Linux - Server 8 01-13-2010 10:31 AM
Anonymous FTP for all, user FTP logins only for specific IP ranges Sjorrit Slackware 15 04-24-2009 03:32 PM
Unable to FTP as user but can FTP as Root acharya_rl Linux - Enterprise 5 09-05-2006 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:04 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration