首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在debian 7.8上禁用rsh和rlogin服务

如何在debian 7.8上禁用rsh和rlogin服务
EN

Stack Overflow用户
提问于 2017-12-04 14:21:31
回答 0查看 559关注 0票数 0

我想禁用rsh和rlogin。我已经在iptables中禁用了513和154端口,但我仍然可以在另一台主机上使用rsh登录。我正在使用Debian7.8 32位

我的/etc/inetd.conf在这里

代码语言:javascript
复制
# /etc/inetd.conf:  see inetd(8) for further informations.
#
# Internet superserver configuration database
#
#
# Lines starting with "#:LABEL:" or "#<off>#" should not 
# be changed unless you know what you are doing!
#
# If you want to disable an entry so it isn't touched during
# package updates just comment it out with a single '#' character.
#
# Packages should modify this file by using update-inetd(8)
#
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#
#:INTERNAL: Internal services
#discard        stream  tcp nowait  root    internal
#discard        dgram   udp wait    root    internal
#daytime        stream  tcp nowait  root    internal
#time       stream  tcp nowait  root    internal

#:STANDARD: These are standard services.

#:BSD: Shell, login, exec and talk are BSD protocols.

#:MAIL: Mail, news and uucp services.

#:INFO: Info services

#:BOOT: TFTP service is provided primarily for booting.  Most sites
#       run this only on machines acting as "boot servers."

#:RPC: RPC based services

#:HAM-RADIO: amateur-radio services

#:OTHER: Other services
#<off># netbios-ssn stream  tcp nowait  root    /usr/sbin/tcpd  /usr/sbin/smbd
swat        stream  tcp nowait.400  root    /usr/sbin/tcpd  /usr/sbin/swat
#<off># sane-port   stream  tcp nowait  saned:saned /usr/sbin/saned saned
EN

回答

页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/47627581

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档