Re: [LINUX:1613] Hosts.allow dosyasi

Selami AKSOY (Selami.Aksoy@FliPPeR.BiTaV.Org.TR)
Thu, 2 Apr 1998 19:39:30 +0300 (EEST)


On Thu, 2 Apr 1998, Emre Ozen wrote:

> Sevgili Arkidisler
> Hosts.deny dosyasi icerisine
> ALL:ALL yazip herkesi engelledim sonra
> Hosts.allow dosyasi icerisinde istedigim IP'lere giris hakki tanidim
> fakat simdide herkese FTP hakki vermek istiyorum bu nasil olabilir.
> Hosts.allow dosyasina
> in.ftpd:ALL yazarsam dogru olurmu ?
> Simdikden Tsekkurler.
> Emre OZEN

wu.ftpd : ALL Seklinde de olabilir. Hangisinin olduGuna /etc/inetd.conf dan ftp
ile baSlayan satIrIn en sonuna bakarak karar verebilirsin.

$ cat /etc/inetd.conf | grep ^ftp
ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd -l -a

bu durumda
in.ftpd: ALL yazman gerekir. Redhat 5.0 da bu Sekilde.

$ cat /etc/inetd.conf | grep ^ftp
ftp stream tcp nowait root /usr/sbin/tcpd wu.ftpd -l -i -a

bu durumda
wu.ftpd : ALL yazman gerekir. Bu da Slackware de.

Veya /etc/hosts.alow da
ALL except in.ftpd : ALL

veya

ALL except wu.ftpd : ALL

Seklinde de yazabilirsin.

Daha geniS bilgi iCin "man 5 hosts_access" , "man 5 hosts_options"

---
SaygIlar, Sevgiler

SeLaMi.