FTP user's homefolder als root bij FTP

Pagina: 1
Acties:

Acties:
  • 0 Henk 'm!

  • chr1st14n
  • Registratie: December 2007
  • Laatst online: 21:18
Ik heb een probleempje waar ik geen oplossing voor kan vinden.

Ik heb een Ubuntu server met daarop Proftpd.

Ik zou graag dat (zie onderstaand plaatje) de map testweb op de plaats van de "/" komt te staan, zodat de andere folder niet te zien zijn. Net als dat je bij een webhosting.

Afbeeldingslocatie: http://i374.photobucket.com/albums/oo189/cyres/001.png

Ik heb hier al een hele tijd op "gegoogled" maar heb hier niks op kunnen vinden (of ik zoek verkeerd)

Het is waarschijnlijk iets heel simpels, maar ik kan het niet vinden.

alvast bedankt

[Core i7-8700K] [Scythe Mugen 5 Black RGB] [ASUS Z-370-GAMING] [4x8gb DDR4-3000] [INNO3D RTX2070 Super] [250GB Samsung 960 EVO] [3x512TB Crucial MX500 (R0)] [Corsair 350D]


Acties:
  • 0 Henk 'm!

  • Osiris
  • Registratie: Januari 2000
  • Niet online
Keyword wat je zoekt: chroot

Acties:
  • 0 Henk 'm!

  • leuk_he
  • Registratie: Augustus 2000
  • Laatst online: 15-07 15:35

leuk_he

1. Controleer de kabel!

http://www.proftpd.org/do...nfig_ref_DefaultRoot.html
The DefaultRoot directive controls the default root directory assigned to a user upon login. If DefaultRoot is set to a directory other than "/", a chroot operation is performed immediately after a client authenticates. This can be used to effectively isolate the client from a portion of the host system filespace. The specified root directory must begin with a / or can be the magic character '~'; meaning that the client is chroot jailed into their home directory.
In the config file of proftpd

Need more data. We want your specs. Ik ben ook maar dom. anders: forum, ff reggen, ff topic maken
En als je een oplossing hebt gevonden laat het ook ujb ff in dit topic horen.


Acties:
  • 0 Henk 'm!

  • chr1st14n
  • Registratie: December 2007
  • Laatst online: 21:18
Bedankt, dit was wat ik zocht

[Core i7-8700K] [Scythe Mugen 5 Black RGB] [ASUS Z-370-GAMING] [4x8gb DDR4-3000] [INNO3D RTX2070 Super] [250GB Samsung 960 EVO] [3x512TB Crucial MX500 (R0)] [Corsair 350D]