<?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; 密码</title>
	<atom:link href="http://www.sogg.name/archives/tag/%e5%af%86%e7%a0%81/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sogg.name</link>
	<description>简单生活，简单记录</description>
	<lastBuildDate>Thu, 24 Feb 2011 06:22:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>为mediawiki用户重置密码</title>
		<link>http://www.sogg.name/archives/2008/0117230016.html</link>
		<comments>http://www.sogg.name/archives/2008/0117230016.html#comments</comments>
		<pubDate>Thu, 17 Jan 2008 15:00:16 +0000</pubDate>
		<dc:creator>sogg</dc:creator>
				<category><![CDATA[未分类]]></category>
		<category><![CDATA[密码]]></category>
		<category><![CDATA[修改密码]]></category>
		<category><![CDATA[mediawiki]]></category>

		<guid isPermaLink="false">http://www.sogg.name/archives/2008/0117230016.html</guid>
		<description><![CDATA[忘了Mediawiki的密码，如果启用了wiki的email功能（$wgEmailEnbale=true）那用户自可通过email获取新密码。如果没有可以用更狠的一招，数据库管理员通过SQL语句直接修改密码字段。如： UPDATE user SET user_password = md5(CONCAT('USERID-',md5('newpassword'))) WHERE user_id=USERID; 注意： 如果在安装时，设定了表前缀，那要修改语句中的表名为：YourPreFix_user 存入wiki中的是将密码md5后再加上userID再MD5一次的结果。 其实在Localsetting.php中也可以设定是否要两次MD5 当然，WHERE中也可以用user_name，但记住要首字母大写，比如“MyName”。 标签：密码, 修改密码, mediawiki 相关日志： 注册非hotmail/live邮件的WLM并修改密码 (0) 在Mediawiki中搜索3字单词 (0) mediawiki的上传尺寸警告修改 (0) 挑挑拣拣 (weekly) (0)]]></description>
			<content:encoded><![CDATA[<p>忘了Mediawiki的密码，如果启用了wiki的email功能（$wgEmailEnbale=true）那用户自可通过email获取新密码。如果没有可以用更狠的一招，数据库管理员通过SQL语句直接修改密码字段。如：</p>
<pre>UPDATE user SET user_password =
  md5(CONCAT('<em><strong>USERID</strong></em>-',md5('newpassword'))) WHERE user_id=<strong>USERID</strong>;</pre>
<pre>注意：</pre>
<ol>
<li>
<pre> 如果在安装时，设定了表前缀，那要修改语句中的表名为：YourPreFix_user</pre>
</li>
<li>
<pre>存入wiki中的是将密码md5后再加上userID再MD5一次的结果。
其实在Localsetting.php中也可以设定是否要两次MD5</pre>
</li>
<li>
<pre> 当然，WHERE中也可以用user_name，但记住要首字母大写，比如“MyName”。</pre>
</li>
</ol>

	标签：<a href="http://www.sogg.name/archives/tag/%e5%af%86%e7%a0%81" title="密码" rel="tag nofollow">密码</a>, <a href="http://www.sogg.name/archives/tag/%e4%bf%ae%e6%94%b9%e5%af%86%e7%a0%81" title="修改密码" rel="tag nofollow">修改密码</a>, <a href="http://www.sogg.name/archives/tag/mediawiki" title="mediawiki" rel="tag nofollow">mediawiki</a><br />

	<h4>相关日志：</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.sogg.name/archives/2008/0124010628.html" title="注册非hotmail/live邮件的WLM并修改密码 (2008年01月24日)">注册非hotmail/live邮件的WLM并修改密码</a> (0)</li>
	<li><a href="http://www.sogg.name/archives/2008/0130003233.html" title="在Mediawiki中搜索3字单词 (2008年01月30日)">在Mediawiki中搜索3字单词</a> (0)</li>
	<li><a href="http://www.sogg.name/archives/2007/0611213448.html" title="mediawiki的上传尺寸警告修改 (2007年06月11日)">mediawiki的上传尺寸警告修改</a> (0)</li>
	<li><a href="http://www.sogg.name/archives/2009/0531112830.html" title="挑挑拣拣  (weekly) (2009年05月31日)">挑挑拣拣  (weekly)</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.sogg.name/archives/2008/0117230016.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

