On 11/14/06, R <[EMAIL PROTECTED]> wrote:
On 11/14/06, fffffh <[EMAIL PROTECTED]> wrote:
> erau din loguri, adica chiar rula din inetd.
tcpd foloseste syslog() chiar daca nu e rulat din inetd.
> $cat /etc/inetd.conf
> telnet stream tcp nowait telnetd telnetd /usr/sbin/tcpd
> /usr/sbin/in.telnetd
linia aia pare aiurea. pune 'telnetd' pt. user o singura data, nu de
2 ori (in cazul in care chiar ai un user numit 'telnetd' - ?).
> $netstat -A ip -a -n
> Active Internet connections (servers and established)
> Proto Recv-Q Send-Q Local Address Foreign Address State
> tcp 0 0 0.0.0.0:8002 0.0.0.0:* LISTEN
> tcp 0 0 10.0.0.2:53 0.0.0.0:* LISTEN
> tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN
> tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN
> udp 0 0 0.0.0.0:1024 0.0.0.0:*
> udp 0 0 10.0.0.2:53 0.0.0.0:*
> udp 0 0 127.0.0.1:53 0.0.0.0:*
>
> Nu prea asculta nimic pe portul 23/107.
dai un 'pkill -HUP inetd' dupa ce ai modificat inetd.conf ca sa-l
faci sa incarce noua configuratie.
(sau ce metoda e standard pe distributia ta - e.g.
/etc/p.mea/inetd restart).
|
Ref.1
si oricum, nu vad de ce cineva ar vrea sa foloseasca telnetd in loc
de sshd ...
Din motive de memorie foarte limitata. Daca sshd-ul ocupa 7-8 MB/proces
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 8657 0.1 2.7 7692 1700 ? Ss 11:20 0:00 sshd:
user [priv]
user 8659 0.0 2.0 7692 1240 ? S 11:21 0:00 sshd: [EMAIL
PROTECTED]/0
telnetd-ul ar trebui sa ocupe mai putin.
Pt nXuseri sshd + apache + ftpd + nu stiu ce se duce in Ref.1 .
Am restartat/oprit/pornit inetdul sau killhim HUP de n-ori fara prea
mare succes.
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug