精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>电脑技术>>Solaris>>FAQ>>Re:solaris怎么限制ftp telnet只能从某ip登陆?

主题:Re:solaris怎么限制ftp telnet只能从某ip登陆?
发信人: icymailbox(冷咖啡)
整理人: hlzhan(2001-09-29 22:28:10), 站内信件
1.装一个tcpd的包
2.改inetd.conf 
ftp     stream  tcp     nowait  root    /usr/sbin/tcpd  in.ftpd
telnet  stream  tcp     nowait  root    /usr/sbin/tcpd  in.telnetd
3.创建 /etc/hosts.allow 和/etc/hosts.deny
4.重启inetd进程 kill -HUP XXX
5.搞定
【 在 pengjf 的大作中提到:】
:rt
:......
 

[关闭][返回]