红旗Linux下配置telnet,允许root登录

来源:互联网 发布:外网端口是什么 编辑:程序博客网 时间:2024/05/08 18:22

内容:红旗Linux下配置telnet,允许root登录
环境:在红旗Linux DC Server 5.0下测试通过
步骤如下:
1. vi /etc/xinetd.d/telnet 把其中disable = yes 改为disable = no
2. vi /etc/securetty 往其中加入pts/0,pts/1...(一行增加一个pts,如:pts/0,pts/1,pts/2,pts/3)
3. 在控制面板的服务里,将xinetd服务的启动类别设置为自动
4. 重新启动机器
5. ok!

备注:直接支持root用户登录的目的是,以非root用户登录服务器,再切换到root,可能无法启动某些服务。譬如无法启动IBM WebSphere Application Server V5.0.2.6

 

原创粉丝点击