LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 04-19-2007, 07:19 AM   #1
jaga_thiru
LQ Newbie
 
Registered: Aug 2006
Posts: 17

Rep: Reputation: 0
Post vsftp issue


Hi,

Now i have working in linux enterprises 3.0.
Now i have attend the problem in vsftp working of microsoft 6.0 fine.And then accepted all rules.But facing microsoft 7.0. not accepted in linux vsftpd
rules.Actually 7.0 login a any user go to inside,viewing not user data only all files included root,sbin.etc,boot everthing i seeing and also accessing all files.This problem how do restricted.pls help me.

Thanks
jegatheesh.T
 
Old 04-20-2007, 03:28 PM   #2
rahulk
Member
 
Registered: Mar 2006
Posts: 110

Rep: Reputation: 16
Waht you need is a CHROOT FTP. Here are the steps which you can do to ensure that the user is able to view only his account files.

1. usweradd -d <home directory> -s /etc/ftponly <FTPusername>
2. Edit the file /etc/ftpaccess and add the following in it:-
guestgroup ftpchroot
guestuser <FTPusername>
3. Add /etc/ftponly entry in /etc/shells

/etc/ftponly is just a normal file which contains the login message:-
example

echo 'You are not allowed to log in interactively'
exit 0


Hope it helps!!

Rahul Khare
 
Old 04-23-2007, 08:36 AM   #3
jaga_thiru
LQ Newbie
 
Registered: Aug 2006
Posts: 17

Original Poster
Rep: Reputation: 0
Post vsftp issue

hai Rahul

I seeing your tips& tried but not working.
This Vsftp Rules working in microsoft IE 6.0 fine.
My problem was microsoft IE 7.0.What is a exact problem now,
open the internet explorer give the ftp site username & password given,after that seeing root,boot,etc,home etc all directory are seeing by user.But IE 6.0.fine no issue



Thanks
Regards
jegatheesh.T

Last edited by jaga_thiru; 04-24-2007 at 02:32 AM.
 
Old 05-08-2007, 11:44 PM   #4
TheLateJC
Member
 
Registered: Apr 2007
Location: Sydney
Distribution: Debian. (Formerly Slackware, Gentoo, RHEL, and Suse)
Posts: 80

Rep: Reputation: 15
Sounds to me like vsftp is not chrooting at all, but is chdiring instead.

I suspect that if you were to connect to the server with a terminal FTP client and login as a restricted user you will then cd .. up the tree.

I see there are a few configuration options relateing to chroot. What does your conf file look like?
 
  


Reply

Tags
solutions



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 having a weird issue bad_lemming Linux - Newbie 2 10-04-2004 08:58 AM
vsFTP toejam Linux - Security 6 05-15-2004 09:38 AM
vsftp 1.1.2 on redhat 7.1 -- 530 incorrect login issue triggerfish Linux - Networking 12 10-29-2003 12:43 AM
Vsftp struja Linux - Software 2 09-24-2003 03:44 PM
vsFTP mathewm Linux - Software 1 12-01-2002 08:59 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 03:35 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