- Install package
# sudo apt-get install xinetd telnetd
or
for Angstrom Distribution
# opkg install netkit-telnet xinetd
- Edit /etc/xinetd.conf
# vi /etc/xinetd.conf
defaults
{
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}
includedir /etc/xinetd.d
- Edit /etc/xinetd.d/telnet
# vi /etc/xinetd.d/telnet
service telnet
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
# server = /usr/sbin/in.telnetd
server = /usr/sbin/telnetd
log_on_failure += USERID
}
- Execute xinitd service
沒有留言:
張貼留言