<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>碧云涛小屋 &#187; proftpd，林卓毅</title>
	<atom:link href="http://blog.axqd.net/tags/proftpd%ef%bc%8c%e6%9e%97%e5%8d%93%e6%af%85/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.axqd.net</link>
	<description>by aXqd</description>
	<lastBuildDate>Tue, 09 Aug 2011 16:12:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<atom:link rel='hub' href='http://blog.axqd.net/?pushpress=hub'/>
		<item>
		<title>困扰多时的问题搞定了&#8212;proftpd相关</title>
		<link>http://blog.axqd.net/2004/09/30/trouble-shooting/</link>
		<comments>http://blog.axqd.net/2004/09/30/trouble-shooting/#comments</comments>
		<pubDate>Thu, 30 Sep 2004 10:57:37 +0000</pubDate>
		<dc:creator>axqd</dc:creator>
				<category><![CDATA[自由世界]]></category>
		<category><![CDATA[proftpd，林卓毅]]></category>

		<guid isPermaLink="false">http://blog.axqd.net/?p=350</guid>
		<description><![CDATA[在国内N大论坛上发贴问，都没有回音，没想到在国外的论坛上有明显的答案，哎，汗一个&#8230; 问题描述： Proftpd在chroot()以后，不能再访问到外部的系统passwd,group文件，导致如果使用用户组，那么可以进入（因为进入前还没有chroot，系统还能够找到passwd,group文件），但是不能列出目录（因为此时已经chroot，不能找到passwd,group文件了）。 如果使用AuthUserFile,AuthGroupFile 则也必须保证此二文件在chroot以内，这点有时不可能（因为DefaultRoot ~，每个人chroot的不一样）。 问题解决： PersistentPasswd on 自己汗一个&#8230;累啊 ps： 秉承小林子遗风，二次修改：) 那些&#8230;说的应该是在chroot以前就打开此二文件的handle，然后在关闭proftpd主进程之前一直不关闭&#8230;<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F07%2F30%2F154-recover-agai%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F09%2F30%2Ftrouble-shooting%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">关于154的再度复活</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F05%2F29%2F154-recover%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F09%2F30%2Ftrouble-shooting%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">154ftp恢复—thanks to 罗佳和我</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F06%2F04%2Fenjoy-transfusion%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F09%2F30%2Ftrouble-shooting%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">在家输液的快感…</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F11%2F06%2Fconfigure-parameters%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F09%2F30%2Ftrouble-shooting%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">考试前，搞定一个问题—configure参数</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>在国内N大论坛上发贴问，都没有回音，没想到在国外的论坛上有明显的答案，哎，汗一个&#8230;</p>
<p>问题描述：<br />
Proftpd在chroot()以后，不能再访问到外部的系统passwd,group文件，导致如果使用用户组，那么可以进入（因为进入前还没有chroot，系统还能够找到passwd,group文件），但是不能列出目录（因为此时已经chroot，不能找到passwd,group文件了）。<br />
如果使用AuthUserFile,AuthGroupFile 则也必须保证此二文件在chroot以内，这点有时不可能（因为DefaultRoot ~，每个人chroot的不一样）。</p>
<p>问题解决：<br />
PersistentPasswd on</p>
<p>自己汗一个&#8230;累啊</p>
<p>ps：<br />
秉承小林子遗风，二次修改：)<br />
那些&#8230;说的应该是在chroot以前就打开此二文件的handle，然后在关闭proftpd主进程之前一直不关闭&#8230;</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F07%2F30%2F154-recover-agai%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F09%2F30%2Ftrouble-shooting%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">关于154的再度复活</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F05%2F29%2F154-recover%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F09%2F30%2Ftrouble-shooting%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">154ftp恢复—thanks to 罗佳和我</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F06%2F04%2Fenjoy-transfusion%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F09%2F30%2Ftrouble-shooting%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">在家输液的快感…</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F11%2F06%2Fconfigure-parameters%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F09%2F30%2Ftrouble-shooting%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">考试前，搞定一个问题—configure参数</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.axqd.net/2004/09/30/trouble-shooting/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

