只需一步,快速开始
配置telnet服务: (1) 用vi命令编辑/etc/hosts.deny文件,放开telnet登录权限控制 # vi /etc/hosts.deny 在ALL: ALL 行前加“#”号注释,注销该行。 (2) 用vi命令编辑/etc/hosts.allow文件,放开root用户登录权限控制 添加一行ALL: ALL (3) 用vi命令编辑/etc/xinetd.d/telnet文件,放开telnet 用”#”注销disable=yes,或者修改为 disble=no (4) 命令编辑/etc/pam.d/login文件,放开root用户登录权限控制 # vi /etc/pam.d/login 在auth required /lib/security/pam_securetty.so行前加“#”号注释,注销该行。 (5) 启动xinetd服务 # /etc/init.d/xinetd restart 配置ftp服务: (1) 用vi命令编辑/etc/xinetd.d/tftp文件,放开telnet 用”#”注销disable=yes,或者修改为 disble=no (2) 启动ftp服务 # service xinetd restart # service iptables stop # service vsftp start
使用道具 举报
本版积分规则 发表回复 回帖并转播 回帖后跳转到最后一页
Hi,扫描关注我
小黑屋|手机版|Archiver|站长之家 ( 浙ICP备15045379号-1 )
Copyright © 2005-2026 站长论坛 All rights reserved
Powered by 站长论坛 with TZWEB Update Techonolgy Support