Forum Moderators: bakedjake
I was trying to make telnet login just with my IP and all trial fails in to water, I don't get it.
for access telnet control redhat has two files:
/etc/xinetd.conf
/etc/xinetd.d/telnet
so I config file telnet under xinetd.d dir.
I make "only_from" and my IP but still is the same. so then I try this make the same in file xinetd.conf ("only_from = my IP") and result has been same, I can login with whatever I do, even if I write "no_access = my IP", I can login.
btw: I first login as user, then type su and enter root passwd.
So what I must do?
service telnet
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
only_from = x.x.x.x
# no_access = x.x.x.x
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}
Sorry for my bad English, Iam not native Eng. speakers.Thanks.