Welcome, Guest
Please Login or Register.
Lost Password?
Re:FTP user can browse entire server! (1 viewing)
Post Reply

TOPIC: Re:FTP user can browse entire server!

#15221
malinens (User)
Posts: 4
graphgraph
FTP user can browse entire server[SORRY: SOLVED] 2008/07/30 04:26  
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

Post edited by: malinens, at: 2008/07/30 05:48
  The administrator has disabled public write access.
#15223
andreychek (Moderator)
Posts: 636
graphgraph
Re:FTP user can browse entire server! 2008/07/30 05:19  
Hello,

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

To configure that, log into Virtualmin, and click:

Webmin ->Servers -> ProFTPD Server -> Files and Directories

In Files and Directories, you'll see this:

"Limit users to directories"

I have mine set to "Home Directory", and for "UNIX Groups" after that, rather than being set to "Everyone", it's set to "!adm" -- meaning anyone in the adm group is not limited to their home directory.
-Eric
  The administrator has disabled public write access.
#15224
malinens (User)
Posts: 4
graphgraph
Re:FTP user can browse entire server! 2008/07/30 05:36  
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 Virtualmin installation was piece of cake- I just need to run install.sh and that's all :)
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.