Just add
DefaultRoot "~"
to the proftpd.conf
In this case it does not matter if your
user has a shell or not!
But better create ftp-users with no shell!
Regards,
Martin
On 26-Jun-2001 Luc MAIGNAN wrote:
> Hi,
>
> I use proftpd to allow users to connect to my server via ftp. I've declared a
> new user on my server, and set its home directory to /home/newuser. But in
> this case, I have a security problem : when connected, the root directory for
> ftp is still :/home/newuser; so he can access the tree /home or /. How can I
> specify /home/newuser is in fact / for him ?
>
> Thanks for any help
>
> Best regards
>
> --Luc
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--------------------------------------------
Martin Buschjost / Technik
Oberberg-Online Informationssysteme GmbH
Robert-Wilhelm-Bunsen-Str. 5
51647 Gummersbach
Tel.: 02261/814-240 Fax: 02261/814-919
[EMAIL PROTECTED]
--------------------------------------------
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]