[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FTP access
The problem is to the anonymouse users as well.
And if you can give me more detailed example i will be most thankfull.
Mike
At 14:48 19/11/98 +0200, you wrote:
>
>I assume you're talking about non anonymous users (anonymous users get
>that by default): put for those users a $HOME path like
>/home/username/./ in /etc/passwd.
>
>This will make wu-ftpd chroot to the username directory when he/she logs
>in via ftp. Note that you will need a basic directory structure in there
>so that this will work - after ftpd chroots it cannot access /etc/passwd
>for example, so you must have /home/username/etc/passwd. the same is
>true for some libs and bins.
>
>WARNING - I never actually tried this. If this locks up your system,
>freezes hell over or make Windows 2000 comes out earlier then planned I
>am not responsible.
>
>Have fun,
>Gilad.
>
>
>Mike Almogy wrote:
>>
>> Hi all.
>> Does anyone knows how to set the FTP directory to be a root directory when
>> accessing via FTP program ???
>> that means that when someone will try to access the etc directory he will
>> be directed to /home/ftp/etc ext'
>>
>> Thanks
>>
>> Mike
>>
>> (P.S , the image file from Hetz Ben Hamo server works fine, The RedHat 5.2
>> is amazing :-)))) )
>