PDA

View Full Version : xinetd che roba è???


stefanoxjx
24-01-2005, 16:11
Sto seguendo un how-to che a un certo punto mi dice di creare un file dentro alla directory /etc/xinetd, ma sulla mia debby, non esiste xinetd.
Credo non sia nemmeno un equivalente di init.d, perchè il file da creare è un file di configurazione e non uno script.
Mi date un aiutino? come al solito del resto :D

Grazie.

kingv
24-01-2005, 16:35
se non sbaglio debian non usa xinetd, prova a guardare se esiste un file /etc/inetd.conf . Se esiste e' quello che cerchi.

bort_83
24-01-2005, 16:47
xinetd è tipo inetd che nn c'entra nulla con init.d

se posti quello che devi fare magari ti posso dare una mano....

inetd e xinetd sono dei demoni che gestiscono i servizi di rete

http://www.xinetd.org/
http://openskills.info/view/boxdetail.php?IDbox=325&boxtype=path

stefanoxjx
24-01-2005, 16:48
infatti su debian esiste inetd.conf, ma allora devo scrivere il contenuto del file che dovevo creare su xinetd dentro a inetd.conf?

kingv
24-01-2005, 16:53
Originariamente inviato da stefanoxjx
infatti su debian esiste inetd.conf, ma allora devo scrivere il contenuto del file che dovevo creare su xinetd dentro a inetd.conf?



non so se la sintassi e' identica, ma dubito.
ma che servizio e'?

stefanoxjx
24-01-2005, 16:54
vm-pop3d :)

bort_83
24-01-2005, 17:19
penso che tu debba aggiornare il file /etc/inetd.conf

da woody:

# /etc/inetd.conf: see inetd(8) for further informations.
#
# Internet server configuration database
#
#
# Lines starting with "#:LABEL:" or "#<off>#" should not
# be changed unless you know what you are doing!
#
# If you want to disable an entry so it isn't touched during
# package updates just comment it out with a single '#' character.
#
# Packages should modify this file by using update-inetd(8)
#
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>


se posti le configurazioni per xinetd possiamo provare a "tradurle" per inetd

dovrebbe cmq risultare una roba simile a questa:

pop3 stream tcp nowait pop3 /percorso/dell'/eseguibile

bort_83
24-01-2005, 17:20
puoi anke usare update-inetd

stefanoxjx
24-01-2005, 17:26
Ho inserito su inetd.conf la seguente riga:

pop3 stream tcp nowait root.mail /usr/sbin/tcpd /usr/local/sbin/vm-pop3d

E sembra funzionare correttamente.
:D

bort_83
24-01-2005, 17:28
:)