Koozali.org: home of the SME Server

many ftp accounts

Offline arne

  • *****
  • 1,116
  • +0/-4
many ftp accounts
« on: January 02, 2005, 03:40:30 PM »
Is it possible to modify a sme 6.0.1 so it will have more than one ftp account ?

The idea is to use the server as a intranet web server at a school. Each class should have their own subdirectory on the web server. If possible, they should have their own ftp log on with ftp access only to their own web datas.

Can it be done ? (We have done simular projects before with success, but with only one commen logon account for updating the web, the admin account.)

Best reg Arne.
......

ryan

many ftp accounts
« Reply #1 on: January 02, 2005, 05:54:50 PM »
If I understand your plan correctly, I have used virtual domains for the 'real' domains hosted on my SME box.  My primary domain is domain.lan and is not reachable from the internet, only the local network.  

Try this for every domain on sme (example mydomain.com):

1.  Create group on sme called mydomain_
2.  Create ibay called mydomain and allow group mydomain_ write access.
3.  Create virtual domain mydomain.com and point it to the mydomain ibay.
4.  Assign users to the mydomain_ group.

With ftp or ssh, the users should have access to the ftp and html folder or the site(s) they are assigned to according to the groups they are a part of.  Additionally, these users will have samba access to the files directory from Windows PCs on the LAN.

good luck

ryan

Offline arne

  • *****
  • 1,116
  • +0/-4
many ftp accounts
« Reply #2 on: January 02, 2005, 06:26:05 PM »
Thanks a lot ! I will try this procedure in the near future !
......