Newsgroup: it.comp.os.linux.iniziare
Titolo: Grande Linux! [Lunghetto ;-]

Salve a tutti...
come va la vita?
Ho un paio di problemi con Linux RedHat 6.1 kernel 2.2.12-20
1) Quando eseguo il comando "netstat" per vedere tutte le connessioni
attive, dopo avermi mostrato le connessioni, mi visualizza una lunga lista.
Intanto accludo al messaggio l'ultimo
netstat che ho fatto sul sistema...:
--
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags       Type       State         I-Node Path
unix  1      [ ]         STREAM     CONNECTED     136836 @000000ff
unix  1      [ ]         STREAM     CONNECTED     564    @00000037
unix  1      [ ]         STREAM     CONNECTED     533    @0000002f
unix  1      [ ]         STREAM     CONNECTED     489    @00000027
unix  1      [ ]         STREAM     CONNECTED     838    @0000005b
unix  1      [ ]         STREAM     CONNECTED     779    @0000004a
unix  1      [ ]         STREAM     CONNECTED     524    @0000002c
unix  1      [ ]         STREAM     CONNECTED     782    @0000004b
unix  1      [ ]         STREAM     CONNECTED     526    @0000002d
unix  0      [ ]         STREAM     CONNECTED     157    @0000001e
unix  1      [ ]         STREAM     CONNECTED     832    @00000059
unix  1      [ ]         STREAM     CONNECTED     784    @0000004c
unix  1      [ ]         STREAM     CONNECTED     515    @0000002a
unix  1      [ ]         STREAM     CONNECTED     792    @0000004d
unix  1      [ ]         STREAM     CONNECTED     679    @00000049
unix  1      [ ]         STREAM     CONNECTED     823    @00000057
unix  1      [ ]         STREAM     CONNECTED     669    @00000048
unix  5      [ ]         DGRAM                    319    /dev/log
unix  1      [ ]         STREAM     CONNECTED     831    @00000058
unix  1      [ ]         STREAM     CONNECTED     796    @0000004f
unix  1      [ ]         STREAM     CONNECTED     667    @00000047
unix  1      [ ]         STREAM     CONNECTED     817    @00000055
unix  1      [ ]         STREAM     CONNECTED     138242 @00000102
unix  1      [ ]         STREAM     CONNECTED     821    @00000056
unix  1      [ ]         STREAM     CONNECTED     661    @00000045
unix  1      [ ]         STREAM     CONNECTED     537    @00000030
unix  1      [ ]         STREAM     CONNECTED     811    @00000053
unix  1      [ ]         STREAM     CONNECTED     659    @00000044
unix  1      [ ]         STREAM     CONNECTED     136865 @00000100
unix  1      [ ]         STREAM     CONNECTED     1461   @00000087
unix  1      [ ]         STREAM     CONNECTED     649    @00000043
unix  1      [ ]         STREAM     CONNECTED     801    @00000051
unix  1      [ ]         STREAM     CONNECTED     646    @00000042
unix  1      [ ]         STREAM     CONNECTED     810    @00000052
unix  1      [ ]         STREAM     CONNECTED     638    @00000041
unix  1      [ ]         STREAM     CONNECTED     634    @00000040
unix  1      [ ]         STREAM     CONNECTED     559    @00000035
unix  1      [ ]         STREAM     CONNECTED     484    @00000026
unix  1      [ ]         STREAM     CONNECTED     798    @00000050
unix  1      [ ]         STREAM     CONNECTED     138243 /tmp/.esd/socket
unix  1      [ ]         STREAM     CONNECTED     136931
unix  1      [ ]         STREAM     CONNECTED     136930
unix  1      [ W ]       STREAM     CONNECTED     136929
unix  1      [ ]         STREAM     CONNECTED     136928
unix  1      [ ]         STREAM     CONNECTED     136866 /tmp/.ICE-unix/465
unix  1      [ ]         STREAM     CONNECTED     136837 /tmp/.X11-unix/X0
unix  0      [ ]         DGRAM                    110631
unix  1      [ ]         STREAM     CONNECTED     1462   /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     839
/tmp/orbit-distasio/orb-17640408261582966755
unix  1      [ ]         STREAM     CONNECTED     833
/tmp/orbit-distasio/orb-1956173912818878056
unix  1      [ ]         STREAM     CONNECTED     834
/tmp/orbit-distasio/orb-20366756431753498674
unix  1      [ ]         STREAM     CONNECTED     824    /tmp/.ICE-unix/465
unix  1      [ ]         STREAM     CONNECTED     822    /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     818
/tmp/orbit-distasio/orb-17640408261582966755
unix  1      [ ]         STREAM     CONNECTED     812
/tmp/orbit-distasio/orb-1956173912818878056
unix  1      [ ]         STREAM     CONNECTED     813
/tmp/orbit-distasio/orb-775714340470644658
unix  1      [ ]         STREAM     CONNECTED     802    /tmp/.ICE-unix/465
unix  1      [ ]         STREAM     CONNECTED     800
/tmp/orbit-distasio/orb-1151308464989718168
unix  1      [ ]         STREAM     CONNECTED     797
/tmp/orbit-distasio/orb-17640408261582966755
unix  1      [ ]         STREAM     CONNECTED     793
/tmp/orbit-distasio/orb-1956173912818878056
unix  1      [ ]         STREAM     CONNECTED     785    /tmp/.ICE-unix/465
unix  1      [ ]         STREAM     CONNECTED     783    /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     780    /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     680
/tmp/orbit-distasio/orb-1956173912818878056
unix  1      [ ]         STREAM     CONNECTED     670    /tmp/.ICE-unix/465
unix  1      [ ]         STREAM     CONNECTED     668    /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     662
/tmp/orbit-distasio/orb-1956173912818878056
unix  1      [ ]         STREAM     CONNECTED     660    /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     650    /tmp/.ICE-unix/465
unix  1      [ ]         STREAM     CONNECTED     648
/tmp/orbit-distasio/orb-1956173912818878056
unix  1      [ ]         STREAM     CONNECTED     639    /tmp/.X11-unix/X0
unix  0      [ ]         DGRAM                    637
unix  1      [ ]         STREAM     CONNECTED     635    /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     565    /tmp/.ICE-unix/465
unix  1      [ ]         STREAM     CONNECTED     560    /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     538    /tmp/.ICE-unix/465
unix  1      [ ]         STREAM     CONNECTED     534    /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     527    /tmp/.ICE-unix/465
unix  1      [ ]         STREAM     CONNECTED     525    /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     516    /tmp/.X11-unix/X0
unix  1      [ ]         STREAM     CONNECTED     490
/tmp/.font-unix/fs-1
unix  1      [ ]         STREAM     CONNECTED     492    /tmp/.X11-unix/X0
unix  0      [ ]         DGRAM                    459
unix  0      [ ]         DGRAM                    427
unix  0      [ ]         DGRAM                    334
--
Sapete dirmi di cosa si tratta? Potreste spiegarmi cosa sono, appunto,
questi domain sockets (w/o servers) e come eliminarli da questa lista?
2) Passiamo al secondo punto: quando mi collego come utente normale (non
root), linux mi permette di spegnere il computer con il comando shutdown...
e fin qui ci siamo... poi chiede la password dell'utente e una volta
inserita la password... effettua lo shutdown (o il reboot...etc..). Per fare
in modo che il reboot, lo shutdown e altre operazioni di spegnimento vengano
effettuate solo da root, dove devo agire? C'e' qualche file da modificare?
Sicuramente si... ;-)... ma... quale? ;-)
Spero di essere stato il più chiaro e preciso possibile...
Grazie mille per l'attenzione e per un eventuale risposta.
A presto...
Alfonso Di Stasio
--
Di Stasio's Server is working...

Sicuramente si... ;-)... ma... quale? ;-)
Leggi la documentazione di pam .
-- 
 +-------------------------------------------+ 
 |        Enrico Bodo  -   PhD student       |
 |      University of Rome "La Sapienza"     |
 |          Department of Chemistry          | 
 +-------------------------------------------+  


strano, di solito e` il contrario...
o almeno dovrebbe chiederti la password di root prima di eseguire il
comando...
-- 
    Ciao
        Pardo
 
	( 
http://members.xoom.it/teletex/pardo.html
 )

 comando shutdown...
Hai redhat o simile?
Potrebbe essere dovuto a PAM (/etc/pam* ; vedi documentazione).
-- 
Cinereview: ogni maledetta domenica: lungo, ma abbastanza    _/Davide\_
interessante. Certo, di Oliver non s'e` visto molto. Voto: 7 \Alberani/