首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

suse 11 telnet 跟 ftp安装开通端口

2012-06-28 
suse 11 telnet 和 ftp安装开通端口INSTALL(ssh默认安装 以下操作结合YaST即可~)########################

suse 11 telnet 和 ftp安装开通端口

INSTALL(ssh默认安装 以下操作结合YaST即可~)
###########################
yast software manager
search telnet
install

search vsftp
install
###########################
检查:
chkconfig --list | grep firewall
chkconfig --list | grep telnet
chkconfig --list | grep ftp

TELNET(Config)
###########################
vi /etc/xinetd.d/telnet
service telnet
{
??????? socket_type???? = stream
??????? protocol??????? = tcp
??????? wait??????????? = no
??????? user??????????? = root
??????? server????????? = /usr/sbin/in.telnetd
??????? disable???????? = no
}
vi /etc/pam.d/login
# pam_securerrytty.so 注释这一行

vi /etc/ftpusers
在root前加注释,让root可以登陆
#root
/etc/init.d/xinetd restart
###########################

FTP
###########################
vi /etc/xinetd.d/vsftpd
disable = no
vi /etc/vsftpd.conf
local_enable=YES
listen_port=21
anonymous_enable=NO
write_enable=YES
#####start#####
1./etc/init.d/xinetd restart
2.service vsftpd restart

热点排行