| 1. 编辑 /usr/local/libexec/telnetd #!/bin/sh -- /bin/cat /etc/issue.net echo `/usr/local/bin/chinese_uptime` exec /usr/libexec/telnetd 2. 修改 /etc/inetd.conf 把 /usr/libexec/telnetd 改成 /usr/local/libexec/telnetd 3. 取得 chinese_uptime # cd /usr/local/bin # fetch ftp://freebsd.csie.nctu.edu.tw/pub/jdli/binary/ chinese_uptime # chgrp kmem chinese_uptime # chmod 2755 chinese_uptime 4. 编辑欢迎画面 /etc/issue.net 5. 重新启动 inetd # kill -1 `cat /var/run/inetd.pid` |
相关图文阅读
频道图文推荐
健 康 咨 询
时 尚 咨 询
相关专题
- TELNET协议 (244篇文章)
- FreeBSD系统安装与配置之准备篇 (1753次浏览)
- FreeBSD入门安装及汉化 (1472次浏览)
- FreeBSD下安装GNOME桌面 (971次浏览)
- FreeBSD 5.0硬盘安装指南 (707次浏览)
- freebsd5.2.1上安装vmware 3.2.1 (610次浏览)
- FreeBSD 5.1安装VMware全部过程 (571次浏览)
- FreeBSD连载(72):设置和使用DHCP (563次浏览)
- 使用FreeBSD的原因 (506次浏览)
- FreeBSD系统终极安装手册(图) (474次浏览)
- FreeBSD5.3下安装Apache+PHP+MySQL+Tomcat (453次浏览)



