FTP user can browse entire server[SORRY: SOLVED]

3 posts / 0 new
Last post
#1 Wed, 07/30/2008 - 04:26
malinens

FTP user can browse entire server[SORRY: SOLVED]

I have fresh Ubuntu 8.04 LTS server edition AMD64 + xubuntu-desktop installed (I selected to install openssh only). I installed Virtualmin with install.sh. created first user but using ftp he can browse not only /home/username but entire system. How to restrict acces to only to /home/username folder?

When I installed Ubuntu I mounted one partition (separate SATA disk) to /home directory.

Post edited by: malinens, at: 2008/07/30 05:38

Post edited by: malinens, at: 2008/07/30 05:40<br><br>Post edited by: malinens, at: 2008/07/30 05:48

Wed, 07/30/2008 - 05:19
andreychek

Hello,

You can definitely limit users to their homedir and the directories underneath that.

To configure that, log into Virtualmin, and click:

Webmin -&gt;Servers -&gt; ProFTPD Server -&gt; Files and Directories

In Files and Directories, you'll see this:

&quot;Limit users to directories&quot;

I have mine set to &quot;Home Directory&quot;, and for &quot;UNIX Groups&quot; after that, rather than being set to &quot;Everyone&quot;, it's set to &quot;!adm&quot; -- meaning anyone in the adm group is not limited to their home directory.
-Eric

Wed, 07/30/2008 - 05:36 (Reply to #2)
malinens

Thank You very much! I had many problems with ISPconfig (on my old server) and I was trying to setup ISPconfig on new server, but I had many errors (I was installing server using perfect setup) and it was hard to get answers in forums. But <b>Virtualmin</b> installation was piece of cake- I just need to run install.sh and that's all :)

Topic locked