LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-27-2007, 06:17 AM   #1
sakthi.s
Member
 
Registered: Nov 2006
Posts: 42

Rep: Reputation: 15
FTP server in linux


We have Redhat linux 9.0 in our office and i configured vsftpd server, the problem is if open the ftp server in my brower all the root folders are getting listed, I don't want to list other folders and files, as soon as users login it should show only their home directory nothing else. If i try the same in command prompt from the client machine it goes directly to the home directory.

Can any one guide me how to go to users home folder directly while loggin in...

Regards
Sakthi
 
Old 02-27-2007, 06:32 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Which browser?
 
Old 02-27-2007, 06:54 AM   #3
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

Rep: Reputation: 29
Chroot list

you will have a file with the name of vsftpd_chroot_list add the users inside this file and the user will not be able to get up a directory from their home directories.

and also enable the file from vsftpd.conf file

hope this will help.

thanks
 
Old 02-27-2007, 06:59 AM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Quote:
If open the ftp server in my brower all the root folders are getting listed, I don't want to list other folders and files, as soon as users login it should show only their home directory nothing else. If i try the same in command prompt from the client machine it goes directly to the home directory.
There is one of the two ftp-clients doing something wrong. Both clients should log the user at the same place, chroot or not.

I would really like to know which browser the OP is talking about.

Chroot will lock the user in his home directory so that he can not even manually go back to /.
 
Old 02-27-2007, 11:12 PM   #5
sakthi.s
Member
 
Registered: Nov 2006
Posts: 42

Original Poster
Rep: Reputation: 15
I couldn't find the file vsftpd_chroot_list file in /etc/ & /etc/vsftpd. Can you tell me where it'll be.

I am using IE7...
 
Old 02-27-2007, 11:23 PM   #6
sakthi.s
Member
 
Registered: Nov 2006
Posts: 42

Original Poster
Rep: Reputation: 15
Yes. if i login from command prompt to ftp server, i am getting locked in home directory. But if i login from browser still my root folders list is getting displayed as soon as i press enter after ftp://192.168.1.5 in the address bar. Then i need to click home directory , at that time it's asking user id and passwd. I am using IE7.
 
Old 02-28-2007, 03:18 AM   #7
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
AHAHAHA IE7 still has the bug. They really are annoying in this microshit company.

Change browser.
Seriously.

It's a bug of IE6 and WIE7.

I should have bet!!

Last edited by nx5000; 02-28-2007 at 03: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
Linux Ftp Server SBN Linux - Software 14 08-08-2006 09:46 AM
Best FTP server for Linux nitaish Linux - Software 2 06-28-2006 09:48 PM
ftp from LInux to Serv-U ftp server problem csross Linux - General 2 11-07-2005 04:35 PM
best ftp server for linux mack4evr Linux - Software 3 08-08-2004 06:31 PM
Setup a linux server, DNS, WEB, FTP, and Mail Server Help watermelon_lee Linux - Networking 1 08-26-2003 03:09 AM

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

All times are GMT -5. The time now is 01: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
Open Source Consulting | Domain Registration