LinuxQuestions.org
Help answer threads with 0 replies.
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 04-24-2009, 03:32 AM   #1
jerome123
LQ Newbie
 
Registered: Apr 2009
Posts: 10

Rep: Reputation: 0
FTP user problem


Hello,

I'm making a FTP server, but i've a problem: When a user connect with the FTP server, he starts in /var/www, but when he types in his computer cd .. he can go to /var, where he can enter the command again and then he is in the root directorie. I don't want that, but i don't know how?


kind regards

Jerome
 
Old 04-24-2009, 03:39 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

That depends on the ftp server you use.

- Which one are you setting up (Pure-FTPd, ProFTPD, vsftpd, ...)?
- How did you configure this server (out-of-the-box, did you change anything, anonymous users only, ...)?

A bit more info is needed to answer the question.
 
Old 04-24-2009, 03:50 AM   #3
jerome123
LQ Newbie
 
Registered: Apr 2009
Posts: 10

Original Poster
Rep: Reputation: 0
there is only one user can log in, he is not root, anoymius is not allowd! i'm ussing vsftpd
 
Old 04-24-2009, 04:27 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
in vsftpd.conf
set
Code:
chroot_local_user=YES
restart vsftpd

Last edited by repo; 04-24-2009 at 04:57 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
when I use ftp://user@ftp.blah.com it works. But when I type just ftp.blah.com says.. hunterhunter Linux - General 15 03-05-2014 09:12 AM
Anonymous FTP for all, user FTP logins only for specific IP ranges Sjorrit Slackware 15 04-24-2009 02:32 PM
how to create sftp user only in red hat 4 not ftp user ..only sftp user princeu28 Linux - Newbie 1 10-14-2008 08:10 AM
ftp user problem nirmit Linux - Newbie 2 07-02-2008 12:56 AM
Unable to FTP as user but can FTP as Root acharya_rl Linux - Enterprise 5 09-05-2006 06:57 AM

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

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