Gossamer Forum
Home : Products : Others : Fileman :

Migrating from shell accounts to multi-user fileman.cgi

Quote Reply
Migrating from shell accounts to multi-user fileman.cgi
I've been asked to plan a migration away from having Unix shell accounts to using fileman.cgi on a college campus web server. The departmental pages in the Apache "DocumentRoot" seem straightforward enough:
*create a fileman account for the pagemaintainer
*change the directory to be writable by the Apache "User"
*work with each maintainer until satisfied it will work

But will the same fileman.cgi also work with the Apache "UserDir"? It seems like a separate script will be required for these as they are outside the fileman "RootDir". Has anyone used the multi-user fileman for User Directories (~user)? Or would I be better off setting up each user with their own single-user fileman.cgi within their Apache "public_html" - then it would work within the suExec framework. Any thoughts?
Quote Reply
Re: [reitsmac] Migrating from shell accounts to multi-user fileman.cgi In reply to
Hi,

If you want to run under an suexec environment, you may want to look at the cobalt raq package. If you download it and untar it (the .pkg is actually just a .tar.gz) and look at the inside .tar.gz file, you'll see a good shell to start from.

It installs a copy in

/home/gossamer/fileman

and has a modified version of cgiwrap that only runs /home/gossamer/fileman/lib/fileman.pl as the currently authenticated user.

It's probably the best way to go if you want to keep separate unix permissions.

If you want to remove all ties to unix users completely, then you can use the multi user fileman and give each user a completely separate directory to manage.

Hope this helps,

Alex
--
Gossamer Threads Inc.