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 |
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 |
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 |
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? |
All times are GMT -5. The time now is 11:09 AM. |