﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-庸人自扰-随笔分类-unix/linux</title><link>http://www.cppblog.com/wmuu/category/2022.html</link><description>含笑半步癫是用蜂蜜、川贝、桔梗、加上天山雪莲配制而成，不需冷藏，也没有防腐剂，除了毒性猛烈之外，味道还很好吃！而吃了含笑半步癫的朋友，顾名思义绝对不能走半步路或是面露笑容，否则也会全身爆炸而死。实在是居家旅行，杀人灭口，必备良药！
</description><language>zh-cn</language><lastBuildDate>Tue, 20 May 2008 03:46:10 GMT</lastBuildDate><pubDate>Tue, 20 May 2008 03:46:10 GMT</pubDate><ttl>60</ttl><item><title>freebsd 6.1的一些比较常用的设置 </title><link>http://www.cppblog.com/wmuu/archive/2006/06/23/8863.html</link><dc:creator>含笑半步癫</dc:creator><author>含笑半步癫</author><pubDate>Thu, 22 Jun 2006 16:15:00 GMT</pubDate><guid>http://www.cppblog.com/wmuu/archive/2006/06/23/8863.html</guid><wfw:comment>http://www.cppblog.com/wmuu/comments/8863.html</wfw:comment><comments>http://www.cppblog.com/wmuu/archive/2006/06/23/8863.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/wmuu/comments/commentRss/8863.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/wmuu/services/trackbacks/8863.html</trackback:ping><description><![CDATA[<br>1) 启动inetd<br>编辑&nbsp;/etc/rc.conf <br>inetd_enable="YES" <br><br><br>2) 开启telnet<br>编辑&nbsp;/etc/inetd.conf <br>把 <br>#telnet&nbsp; stream&nbsp; tcp&nbsp;&nbsp;&nbsp;&nbsp; nowait&nbsp; root&nbsp;&nbsp;&nbsp; /usr/libexec/telnetd&nbsp;&nbsp;&nbsp; telnetd<br>#telnet stream&nbsp; tcp6&nbsp;&nbsp;&nbsp; nowait&nbsp; root&nbsp;&nbsp;&nbsp; /usr/libexec/telnetd&nbsp;&nbsp;&nbsp; telnetd (这个是tcp6协议的)<br>前面的#去掉 <br>kill&nbsp;-HUP&nbsp;`cat&nbsp;/var/run/inetd.pid` <br>把inetd重启一下，就可以了。(只要输入inetd) <br><br>3)让root可以登陆telnet<br>编辑&nbsp;/etc/pam.d/login&nbsp; <br>account&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; requisite&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pam_securetty.so<br>把这行注释掉<br><br>4)开启ftp<br>编辑&nbsp;/etc/inetd.conf <br>#ftp&nbsp;&nbsp;&nbsp;&nbsp; stream&nbsp; tcp&nbsp;&nbsp;&nbsp;&nbsp; nowait&nbsp; root&nbsp;&nbsp;&nbsp; /usr/libexec/ftpd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ftpd -l<br>#ftp&nbsp;&nbsp;&nbsp; stream&nbsp; tcp6&nbsp;&nbsp;&nbsp; nowait&nbsp; root&nbsp;&nbsp;&nbsp; /usr/libexec/ftpd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ftpd -l<br>去掉前面的注释<br><br>5)让root登陆ftp<br>编辑 /etc/ftpusers<br>注释掉root<br><br><br>6)dmesg <br>dispaly the system message buffer<br><br>
<img src ="http://www.cppblog.com/wmuu/aggbug/8863.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/wmuu/" target="_blank">含笑半步癫</a> 2006-06-23 00:15 <a href="http://www.cppblog.com/wmuu/archive/2006/06/23/8863.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>centos linux的一些比较常用的设置</title><link>http://www.cppblog.com/wmuu/archive/2006/05/24/7573.html</link><dc:creator>含笑半步癫</dc:creator><author>含笑半步癫</author><pubDate>Wed, 24 May 2006 06:50:00 GMT</pubDate><guid>http://www.cppblog.com/wmuu/archive/2006/05/24/7573.html</guid><wfw:comment>http://www.cppblog.com/wmuu/comments/7573.html</wfw:comment><comments>http://www.cppblog.com/wmuu/archive/2006/05/24/7573.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/wmuu/comments/commentRss/7573.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/wmuu/services/trackbacks/7573.html</trackback:ping><description><![CDATA[改了几次，google了几次。索性把它几下来，免的每次都查半天。<br /><br />1) 让root可以telnet<br />修改/etc/pam.d/login文件，注释掉<font face="Verdana">auth required pam_securetty.so #将这一行注释掉!<br />运行service xinetd restart 重启telnet服务<br /><br />2)让vsftp允许root用户登陆<br />修改/etc/vsftpd.user_list，注释掉root<br />修改/etc/vsftpd.ftpusers，注释掉root<br />运行service vsftpd restart 重启vsftpd<br />/etc/vsftpd/vsftpd.conf 文件里头 userlist_enable=YES 不知道是作什么用的<br /><br /><br /></font><img src ="http://www.cppblog.com/wmuu/aggbug/7573.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/wmuu/" target="_blank">含笑半步癫</a> 2006-05-24 14:50 <a href="http://www.cppblog.com/wmuu/archive/2006/05/24/7573.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>