Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: beakersloco on January 17, 2009, 03:55:31 AM
-
I know that there was a crontib for version 6 that allowed the admin to lock people that ftp into the server into specific directories. I dont want them to vpn into the server and prefer that they log in thry FTP to access or drop files.
Anyone know how to do this in version 7 ?
I need to limit on a person by person basis and be able to set there starting folder and make sure that they cant go out of that folder. Allow them to access anything in that folder but not be able to go above. In most cases I simply want to lock everyone into there home folder. Bu if possible I would like to be able to lock some users into a specific ibay.
Some of this I realize would be set by creating groups for ibay access , but if I can at least see how to lock a user in there directory that will be good enough for now. Then I can figure out how to get groups setup.
Thanks for any assistance.
-
Install smeserver-remoteuseraccess.
Read more at http://www.dungog.net/wiki/Smeserver-remoteuseraccess
-
Thanks that worked like a charm when I log in using an ftp program. Now to figure out why the webftp contrib still lets the user wander.
-
I can't tell if you want to use "yes" or "no", but the links below imply that some code like this sample should get phpwebftp to respect your ftp chroot directives:
setprop webftp ForceFtpVirtualLocalhost yes
expand-template /etc/proftpd.conf
http://wiki.contribs.org/PhpWebFtp#Configuration
http://bugs.contribs.org/show_bug.cgi?id=4515
-
Thanks ... it needed to be set to no in otherwise any user that used webftp is able to wander.
Thanks again.