soluzioni


Il comando finger c'è su lab7, e funziona; quindi per lo meno un utente di dida7 può fare finger steffe ed avere informazioni.
Il file /etc/xinetd.conf specifica che i files di configurazione si trovano nella dir /etc/xinetd.d.
Nel file /etc/xinetd.d/finger si trova:
[steffe@lab7 steffe]$ cat /etc/xinetd.d/finger 
# default: on
# description: The finger server answers finger requests. Finger is \
#       a protocol that allows remote users to see information such \
#       as login name and last login time for local users.
service finger
{
        socket_type = stream
        wait  = no
        user  = nobody
        server  = /usr/sbin/in.fingerd
        disable  = yes
e questo dice che il demone è disabilitato.
A conferma di questo fatto osserviamo che la porta 79 non risulta aperta:
[steffe@lab7 steffe]$ netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 0.0.0.0:32768           0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:515             0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      
tcp        0      0 127.0.0.1:6010          0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:826             0.0.0.0:*               LISTEN      
tcp        0      0 131.114.6.91:22         131.114.6.43:33254      ESTABLISHED 
udp        0      0 0.0.0.0:32768           0.0.0.0:*                           
udp        0      0 0.0.0.0:513             0.0.0.0:*                           
udp        0      0 0.0.0.0:518             0.0.0.0:*                           
udp        0      0 0.0.0.0:787             0.0.0.0:*                           
udp        0      0 0.0.0.0:799             0.0.0.0:*                           
udp        0      0 0.0.0.0:800             0.0.0.0:*                           
udp        0      0 0.0.0.0:823             0.0.0.0:*                           
udp        0      0 0.0.0.0:32843           0.0.0.0:*                           
udp        0      0 0.0.0.0:111             0.0.0.0:*                           
Active UNIX domain sockets (servers and established)
...
...
Dunque: il demone di rete fingerd non gira e il comando finger si puo' usare solo in locale, cioe' se si è collegati su lab7, nella forma
finger steffe  
CHIUDI

Laboratorio di Comunicazione mediante Calcolatore - Sergio Steffè - AA 2002/2003 - PISA