💾 Archived View for reisub.nsupdate.info › fabianbonetti › hosting_gemini.gemini captured on 2021-12-17 at 13:26:06. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

-=-=-=-=-=-=-

==============================================================================================
=        =========  ============================      ========================================
=  ===============  ============================  ===  =======================================
=  ===============  ============================  ====  ========================  ====  ======
=  =========   ===  =====  ===   ===  = ========  ===  ====   ===  = ====   ===    ==    ==  =
=      ====  =  ==    =======  =  ==     =======      ====     ==     ==  =  ===  ====  ======
=  ===========  ==  =  ==  =====  ==  =  =======  ===  ===  =  ==  =  ==     ===  ====  ===  =
=  =========    ==  =  ==  ===    ==  =  =======  ====  ==  =  ==  =  ==  ======  ====  ===  =
=  ========  =  ==  =  ==  ==  =  ==  =  =======  ===  ===  =  ==  =  ==  =  ===  ====  ===  =
=  =========    ==    ===  ===    ==  =  =======      =====   ===  =  ===   ====   ===   ==  =
==============================================================================================

Cápsula Gemini de Fabián Bonetti

Sobre GNU/Linux, Software Libre y demas

Hosting con ProFTPd y Gemini-PHP 01-6-2021

ruta donde trabaja el servidor gemini-php

/srv/gemini-php/hosts/default

usuarios dentro en carpeta

/srv/gemini-php/hosts/default/user1
/srv/gemini-php/hosts/default/user2
/srv/gemini-php/hosts/default/user3
# ls -alis
1741728 4 drwxr-xr-x 3 user1 gemini 4096 may 29 11:14 user1/
1741744 4 drwxr-xr-x 3 user2 gemini2 4096 may 29 19:02 user2/
1728081 4 drwxr-xr-x 3 user3 gemini3 4096 may 31 09:04 user3/

cada usuario es propietario de su carpeta y su grupo asigando.

Primero se crea el grupo, luego el usuario.

Eso se crea todo con el comando adduser.

su resultado final esta en /etc/passwd /etc/group

Config de proftpd

Se pone la ruta de cada user y al grupo que pertenece.

los usuarios de un grupo si podran verse.

En mi caso cada user tiene su propio grupo.

DefaultRoot /srv/gemini-php/hosts/default/user1 gemini
DefaultRoot /srv/gemini-php/hosts/default/user2 gemini2
DefaultRoot /srv/gemini-php/hosts/default/user3 gemini3

Asi no se ven entre usuarios.

Volver

© 2021