On Tue, 30 Oct 2001 22:25:59 -0000, Tim Sellar wrote:

>I think what you're after may be the following:
>
>Add users using 'svsdadm user_add'
>Allocate users required privileges using 'svsdadm priv_modify' - you need 
to
>give them ftp privilege to allow connection by ftp.
>To allow command line access (ie SSH) they will also require the login
>privilege, which may only be given by the hosting server root user (not
>admin). It is easiest to bevs -r into the virtual and add the username to
>the comma spearated list in /etc/vsd within the virtual server to do this.
>
>Tim

I think we may be talking at cross purposes here. What you describe 
above is what I have now  - the result is that new users have both 
ftp and login privileges in /etc/vsd/priv, proper entries in /etc/passwd, 
and a home directory.

I suspect that you are thinking of a proftpd.conf with extra "anonymous" 
entries but with passwords required.

What I am thinking of is this:- I build a new VS, call it say Altair and IP xxx.51.
Within that VS I create real users, each with his own home directory, 
own password, and own IP address. Apache then serves SSL pages 
for each user based on "IP hosts" (rather than name-based hosts), ssh
connects each user based on IP, and proftpd serves each user based 
on a <VirtualHost domain.com> entry in proftpd.conf (domain.com then
resolves to a unique IP).

This is exactly what you would do in the traditional model, without VSD 
being anywhere in sight. The difference is that instead of all this being 
on the real file system of the host, it's all on the virtual system of the VS. 

The problem with this is that ftp access doesn't work. It seems that 
virtuald reads vsd.conf for <VirtualServer foo> entries only, and ignores
<Domain foo>. I've just been looking through VSD.pm and friends - eg map.c,
libvsd.h, vsd.c ... (bear in mind that I'm not a programmer's toenail, but mostly
the code is well commented) and these seem to show that this is the case. 

Is this correct? If so, would it be a huge job to add this functionality into the 
code? I'd have a go myself, but I'd need some tips on where to start, and most 
probably a *lot* of time. 

Cheers
Lyn


------------------------- The freeVSD Support List --------------------------
Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------

Reply via email to