soluzioni


Il comando finger c'è su lab7, e funziona; quindi per lo meno un utente di lab7 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:846             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 131.114.73.127:998      131.114.72.118:111      TIME_WAIT   
tcp        0      0 131.114.73.127:995      131.114.72.118:111      TIME_WAIT   
tcp        0      0 131.114.73.127:1003     131.114.72.118:111      TIME_WAIT   
tcp        0      0 131.114.73.127:1009     131.114.72.118:111      TIME_WAIT   
tcp        0      0 131.114.73.127:22       131.114.72.43:1074      ESTABLISHED 
tcp        0      0 131.114.73.127:1004     131.114.72.118:613      TIME_WAIT   
tcp        0      0 131.114.73.127:999      131.114.72.118:613      TIME_WAIT   
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:514             0.0.0.0:*                           
udp        0      0 0.0.0.0:518             0.0.0.0:*                           
udp        0      0 0.0.0.0:32794           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:843             0.0.0.0:*                           
udp        0      0 0.0.0.0:608             0.0.0.0:*                           
udp        0      0 0.0.0.0:111             0.0.0.0:*                           
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node Path
unix  2      [ ACC ]     STREAM     LISTENING     4067   /dev/gpmctl
...
...
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
[steffe@lab7 steffe]$ finger steffe
Login: steffe                           Name: Sergio Steffe
Directory: /home/steffe                 Shell: /bin/bash
Office:  staff
On since Sat Nov  3 17:02 (CET) on pts/0 from volterra.dm.unipi.it
Mail last read Sat Nov  3 16:39 2007 (CET)
Plan:



Never work before 11 a.m.
 
CHIUDI

Laboratorio di Comunicazione mediante Calcolatore - Sergio Steffè - AA 2007/2008 - PISA