Koozali.org: home of the SME Server

FTP and Virtual Domains - PLEASE HELP

Ryan

FTP and Virtual Domains - PLEASE HELP
« on: February 23, 2003, 03:20:00 AM »
REQUIREMENT:  I want to host several website (different domain names) and email addresses for several different companies on the same SME server.

WHAT I DID:
Created a new group and i-bay for each virtual domain.

Then in Remote Access...
FTP user account access = PUBLIC
FTP access limits = normal usage

Then in the I-bay config....
User access via file sharing or user ftp = Write=group. Read=group


PROBLEM:  "Write access is never permitted via anonymous FTP or via the information bay accounts." - SME Remote Access config page.  I'd like to allow one user from each group to administer just their own webpage (ie FTP up new files...etc).  When a user of a group logs in via ftp, they get "home" and "maildir".  The i-bay account does not have outside ftp access.


I can't hand out the admin password to everyone?!?

(This needs to be simple...I want to replace a 10-server IIS farm).

Thx,

Ryan

Charlie Brady

Re: FTP and Virtual Domains - PLEASE HELP
« Reply #1 on: February 23, 2003, 03:30:27 AM »
Ryan wrote:

>  I'd like to allow one user from each group to
> administer just their own webpage (ie FTP up new
> files...etc).

Rule1: Avoid FTP if at all possible. Use sftp instead.
Rule2: See rule 1.

> When a user of a group logs in via ftp, they
> get "home" and "maildir".  The i-bay account does not have
> outside ftp access.
>
> I can't hand out the admin password to everyone?!?

You don't need to. Tell the user in question to login as themselves, using sftp or ftp, then go:

cd ../../ibays/xxxx/html
put index.html
...

Charlie

Peter Walter

Re: FTP and Virtual Domains - PLEASE HELP
« Reply #2 on: February 26, 2003, 05:35:29 AM »
Ryan,

I had a similar problem regarding write access to an I-Bay and fixed it with a symlink directory entry from the user account to the i-bay.

Peter

Tim

Re: FTP and Virtual Domains - PLEASE HELP
« Reply #3 on: March 06, 2003, 01:48:58 AM »
Peter,

I apologize for my ignorance, but could you explain how to do the "symlink" directory entry you mentioned?

Thanks,

Tim

Peter Walter

Re: FTP and Virtual Domains - PLEASE HELP
« Reply #4 on: March 13, 2003, 10:37:53 PM »
Tim,

symbolic links (symlinks) are created by the "ln" command. To create a symbolic link to a file, use the following command at the shell (root) prompt:
ln -s where is the original file and is the new name that the file will be referenced by.

For more information,  see the man pages (man ln).  Depending on what you are trying to do, the permissions on the original file may have to be modified because the permissions on the link are really those of the original file, a lthough a directory listing of the link may show you different permissions.

Peter