Koozali.org: home of the SME Server

How do I let users update their ibays?

sergeis

How do I let users update their ibays?
« on: September 08, 2004, 08:00:28 AM »
This should be really simple but I couldn't find the answer in the manual or in the forums.

I run a school web server and I want to let students update group web sites remotely using ftp without giving them admin password.

I have created an ibay, setup a group that has a write access to it, added the people I want to have write access to the site to this group. What do I do next? How do I get them to access the html folder in that ibay, with write permissions?

FTP login with ibay name/password gets me an empty folder, FTp login with person's login/password gets their personal folder...

What am I doing wrong?

Thanks,
Sergei

mbachmann

How do I let users update their ibays?
« Reply #1 on: September 08, 2004, 01:39:50 PM »
The ibay should be located at
/home/e-smith/files/ibays/youribay/html/

Create a index.html in there and point your browser to
http(s)://yourserver/youribay/

If the index.html is correct, you should see something. Is the empty folder of yours by any chance the ibay folder you are looking for? Can you create files in there?

Offline Boris

  • *
  • 783
  • +0/-0
How do I let users update their ibays?
« Reply #2 on: September 08, 2004, 08:20:31 PM »
Sergei,
try to install this add-on. It will help you to control FTP access for your users.
http://dungog.net/sme/files/dungog-proftpd-chroot-0.1-5.noarch.rpm
...

larsk

How do I let users update their ibays?
« Reply #3 on: September 12, 2004, 09:51:10 PM »
If you allow scripts in this ibay then you will see three folders in the explorer view of this ibay.

go to: \\yourserver\youribay and voila.

cgi-bin, files, html

Good luck,

Lars

sergeis

Still not clear on what I should do
« Reply #4 on: September 18, 2004, 03:59:16 AM »
Boris: dungog link is dead...
larsk: To use shared drive access instead of ftp, who do I login as? ibay or user from the group for which ibay updates are allowed? Or someone else?

Please help!

Offline raem

  • *
  • 3,972
  • +4/-0
Re: How do I let users update their ibays?
« Reply #5 on: September 18, 2004, 03:05:33 PM »
sergeis

> ......I want to let students update group web sites remotely using ftp

ftp is not very secure, the password is exposed,
and it does not work by default on ibays

> I have created an ibay, setup a group that has a
> write access to it, added the people I want to
> have write access to the site to this group.

That group access only applies to local connections ie users on the local network or who have VPN'd to the server. It does not apply to Internet access, the only Internet control is by enabling web access using a password (for the ibay).

> How do I get them to access the html folder in that ibay, with write permissions?

By default (on a sme server) that is not allowed via a web connection.

> FTP login with ibay name/password gets me an empty folder

ftp connects you to the .../ibay/files folder, not to the .../ibay/html folder

> What am I doing wrong?

Nothing, it's working the way it was designed.

> dungog link is dead...

Look harder and you would find it ...
http://mirror.contribs.org/smeserver/contribs/dungog/files/


> To use shared drive access instead of ftp, who do > I login as? ibay or user from the group for which > ibay updates are allowed?

you log in to an ibay (with a password set) using
username = ibayname
password = ibaypassword
BUT as I mentioned above write access is not allowed

If you really want to provide write acces to ibays which is controlled by group membership, then the remote users should establish a VPN connection to the server and then map a drive to the ibay
It's secure and it controls (limits) access to only the allowed ibay(s) by means of the group membership(s).
eg
net use W: \\serverIP\ibayname

Hope that clears up the confusion
...

sergeis

so what's the best way to let users update their ibays?
« Reply #6 on: September 22, 2004, 06:46:21 PM »
If not remotely, then locally?