OVH Cloud OVH Cloud

inetd

1 réponse
Avatar
nico
bonjour,

le fichier /etc/inetd.conf doit contenir normalement, ça:

netbios-ssn stream tcp nowait root /usr/sbin/smbd smbd
netbios-ns dgram udp wait root /usr/sbin/nmbd nmbd

Or: je n'ai que ça :
netbios-ssn stream tcp nowait root /usr/sbin/tcpd
/usr/sbin/smbd

Est ce que je dois modifier et rajouter la ligne avec udp ?
merci
nico


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

1 réponse

Avatar
Mezig
nico wrote:

bonjour,

le fichier /etc/inetd.conf doit contenir normalement, ça:

netbios-ssn stream tcp nowait root /usr/sbin/smbd smbd
netbios-ns dgram udp wait root /usr/sbin/nmbd nmbd

Or: je n'ai que ça :
netbios-ssn stream tcp nowait root /usr/sbin/tcpd
/usr/sbin/smbd

Est ce que je dois modifier et rajouter la ligne avec udp ?
merci
nico



man inetd, non :) ?

Mon inetd.conf, compte bien plus de ligne que ça...., et/mais commentées
.... :( !

cf:
# /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>
#
#:INTERNAL: Internal services
#echo stream tcp nowait root internal
#echo dgram udp wait root internal
#chargen stream tcp nowait root internal
#chargen dgram udp wait root internal
#discard stream tcp nowait root internal
#discard dgram udp wait root internal
#daytime stream tcp nowait root internal
#daytime dgram udp wait root internal
#time stream tcp nowait root internal
#time dgram udp wait root internal

#:STANDARD: These are standard services.
#telnet stream tcp nowait telnetd.telnetd /usr/sbin/tcpd
/usr/sbin/in.telnetd
ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/proftpd

#:BSD: Shell, login, exec and talk are BSD protocols.
#talk dgram udp wait root.tty /usr/sbin/tcpd
/usr/sbin/kotalkd
#ntalk dgram udp wait root.tty /usr/sbin/tcpd
/usr/sbin/ktalkd

#:MAIL: Mail, news and uucp services.
#pop-3 stream tcp nowait root /usr/sbin/tcpd
/usr/sbin/in.qpopper -f /etc/qpopper.conf
#disabled#smtp stream tcp nowait mail /usr/sbin/exim
exim -bs
imap2 stream tcp nowait root /usr/sbin/tcpd /usr/sbin/imapd
#disabled#nntp stream tcp nowait news /usr/sbin/tcpd
/usr/sbin/leafnode
nntp stream tcp nowait news /usr/sbin/tcpd
/usr/sbin/leafnode
#<off># smtp stream tcp nowait root /usr/sbin/sendmail
sendmail -Am -bs
#<off># 587 stream tcp nowait root /usr/sbin/sendmail
sendmail -Am -bs
#<off># smtps stream tcp nowait root /usr/sbin/sendmail
sendmail -Am -bs

#:INFO: Info services
#ident stream tcp wait identd /usr/sbin/identd
identd
#finger stream tcp nowait nobody /usr/sbin/tcpd
/usr/sbin/in.fingerd

#:BOOT: Tftp service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
#tftp dgram udp wait nobody /usr/sbin/tcpd
/usr/sbin/in.tftpd /boot

#:RPC: RPC based services

#:HAM-RADIO: amateur-radio services

#:OTHER: Other services
#<off># netbios-ssn stream tcp nowait root /usr/sbin/tcpd
/usr/sbin/smbd
#<off># netbios-ns dgram udp wait root /usr/sbin/tcpd
/usr/sbin/nmbd -a
#<off># swat stream tcp nowait.400 root
/usr/sbin/tcpd /usr/sbin/swat
#printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd
#vboxd stream tcp nowait root /usr/sbin/tcpd /usr/sbin/vboxd
#saft stream tcp nowait root /usr/sbin/tcpd /usr/sbin/sendfiled
#xtel stream tcp nowait root /usr/sbin/tcpd
/usr/sbin/xteld
#<off># biff dgram udp wait root.tty
/usr/sbin/in.comsat comsat
amandaidx stream tcp nowait backup /usr/sbin/tcpd /usr/lib/amanda/amindexd
amidxtape stream tcp nowait backup /usr/sbin/tcpd /usr/lib/amanda/amidxtaped
amanda dgram udp wait backup /usr/sbin/tcpd /usr/lib/amanda/amandad
#<off># https stream tcp nowait sslwrap.sslwrap /usr/sbin/tcpd
/usr/sbin/sslwrap -nocert -addr 127.0.0.1 -port 80
#<off># ssmtp stream tcp nowait sslwrap.sslwrap /usr/sbin/tcpd
/usr/sbin/sslwrap -nocert -addr 127.0.0.1 -port 25
#<off># nntps stream tcp nowait sslwrap.sslwrap /usr/sbin/tcpd
/usr/sbin/sslwrap -nocert -addr 127.0.0.1 -port 119
#<off># telnets stream tcp nowait sslwrap.sslwrap /usr/sbin/tcpd
/usr/sbin/sslwrap -nocert -addr 127.0.0.1 -port 23
imaps stream tcp nowait sslwrap.sslwrap /usr/sbin/tcpd
/usr/sbin/sslwrap -nocert -addr 127.0.0.1 -port 143
#<off># ircs stream tcp nowait sslwrap.sslwrap /usr/sbin/tcpd
/usr/sbin/sslwrap -nocert -addr 127.0.0.1 -port 194
pop3s stream tcp nowait sslwrap.sslwrap /usr/sbin/tcpd
/usr/sbin/sslwrap -nocert -addr 127.0.0.1 -port 110
#<off># ftps-data stream tcp nowait sslwrap.sslwrap /usr/sbin/tcpd
/usr/sbin/sslwrap -nocert -addr 127.0.0.1 -port 20
#<off># ftps stream tcp nowait sslwrap.sslwrap /usr/sbin/tcpd
/usr/sbin/sslwrap -nocert -addr 127.0.0.1 -port 21
#<off># ldaps stream tcp nowait sslwrap.sslwrap /usr/sbin/tcpd
/usr/sbin/sslwrap -nocert -addr 127.0.0.1 -port 389
'Lin'Box:/etc$

Et moi, ça marche :)!

Si ça a pu t'aider :) !

Mi



--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact