编辑“WordPress:Resetting Your Password

跳转至: 导航、​ 搜索
警告:您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您登录创建一个账户,您的编辑将归属于您的用户名,且将享受其他好处。

该编辑可以被撤销。 请检查下面的对比以核实您想要撤销的内容,然后发布下面的更改以完成撤销。

最后版本 您的文本
第1行: 第1行:
== 更改你的密码 ==
== To Change Your Password ==
'''WordPress v1.2'''中更改你的密码:
To change your password in '''WordPress v1.2''':
#在管理面板,转到 基本资料
 
#向下滚动到底部,在提供的两个栏中输进新的密码。
# In the Admin Panel, go to PROFILE
#点击更新 基本资料 按钮
# Scroll down to the bottom and type in the new password in the two boxes provided
:你的新的密码立马就能使用了。
# Click the UPDATE PROFILE button
'''WordPress v1.5'''中改变你的密码:
 
#在管理面板,转到 用户
:Your new password takes effect immediately.
#"你的Profile"标签下滚到底部,并在提供的两个栏中输入新的密码。
 
#点击更新 基本资料 按钮
To change your password in '''WordPress v1.5''':
:你的新密码立马就能使用了。
 
'''WordPress v2.0'''中更改你的密码:
# In the Admin Panel, go to USERS
#在管理面板上,转到 用户(或者 基本资料)
# From the "Your Profile" tab, scroll to the bottom and type in the new password in the two boxes provided.
#"你的 Profile"标签,下滚到 升级你的密码 部分,并且在提供的两个栏中输入一个新的密码。
# Click the UPDATE PROFILE button
#点击 更新基本资料 按钮
 
:你的新的密码立马就能使用了。
:Your new password takes effect immediately.
== 通过自动的 emailer ==
 
如果你在基本资料中知道你的用户名和邮箱帐户,你可以使用WordPress中的"丢失密码"功能。
To change your password in '''WordPress v2.0''':
*转到WordPress的注册页面(像[http://codex.wordpress.org/重新设置你的密码http://yoursite.com/wordpress/wp-login.php])  
 
*点击 丢失密码
# In the Admin Panel, go to USERS (or Profile)
*你会来到一个页面,并以输进一些详细的信息。 在那个帐户的文件上输进你的用户名和邮箱地址。
# From the "Your Profile" tab, scroll down to the Update Your Password section and type in a new password in the two boxes provided.
*愉快地等待吧因为你的新密码正通过邮件发送给你。
# Click the UPDATE PROFILE button
*你一旦得到了你的新密码,在你的基本资料页面上,将它登录并且改为你能''记住''的形式。
 
=== 帮助 1.2.1 用户的注解 ===
:Your new password takes effect immediately.
在1.2.1上出现了一个程序错误,你得到的邮件中包含了一个错误编码的密码。你的邮件看起来与这样类似:
 
Mime-版本: 1.0
== Through the automatic emailer ==
内容-形式: 正文/无格式; charset=UTF-8
If you know your username and the email account in your profile, you can use the "lost password" feature of Wordpress.
内容-转移-编码: BASE64TG9naW46IERpYW5lDQpQYXNzd29yZDogZTIxMTQ2DQpodHRwOi8vZGlhbmV2LmNvbS9ibG9nL3dvcmRwcmVzcy93cC1sb2dpbi5waHA=
*Go to your Wordpress Login page (something like [http://codex.wordpress.org/Resetting_your_password http://yoursite.com/wordpress/wp-login.php])  
解决这个问题,就要将你的站点升级到[http://wordpress.org/development/2004/12/one-point-two-two/ 1.2.2]
*Click on lost password
== 通过MySQL 命令行 ==
*You will be taken to a page to put in some details. Enter your user name and the email address on file for that account.
#得到你的密码的MD5杂乱信号。
*Wait happily as your new password is emailed to you.
#** [http://epleweb.com/md5/ 访问MD5 杂乱信号发布者],或者...
*Once you get your new password, login and change it to something you can ''remember'' on your profile page.
#*用Python创建一个 对译本 或者…
 
 
=== Note for 1.2.1 Users ===
There is a bug in 1.2.1 where the email you get includes an incorrectly encoded password. Your email will look similar to this:
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: BASE64
TG9naW46IERpYW5lDQpQYXNzd29yZDogZTIxMTQ2DQpodHRwOi8vZGlhbmV2LmNvbS9ibG9nL3dvcmRwcmVzcy93cC1sb2dpbi5waHA=
 
The fix for this is to upgrade your site to [http://wordpress.org/development/2004/12/one-point-two-two/ 1.2.2]
 
== Through MySQL Command Line ==
#Get an MD5 hash of your password.
#* [http://epleweb.com/md5/ Visit MD5 Hasher], or...
#* Create a key with Python. or...
#* On Unix: echo -n <password> | md5sum
#* On Unix: echo -n <password> | md5sum
#*在Unix:回复-n <密码> | md5总数
#"mysql -u root -p" (log in to MySQL)
#"mysql -u -p" (登录到MySQL)
#enter your mysql password
#输入你的mysql密码
#"use (name-of-database)" (select WordPress database)
#"使用 (数据库名)" (选择 WordPress 数据库)
#"show tables;" (you're looking for a table name with "users" at the end)
#"显示表格;"(你正在找一个结尾是"用户"的表格名)
#"SELECT ID, user_login, user_pass FROM (name-of-table-you-found)" (this gives you an idea of what's going on inside)
#"选择 ID, 用户_登录, 用户_通行 从(你找到的表格名)" (这提供你里面发生什么的信息)
#"UPDATE (name-of-table-you-found) SET user_pass="(MD5-string-you-made)" WHERE ID = (id#-of-account-you-are-reseting-password-for)" (actually changes the password)
#"更新 (你找的表格名) 设置 用户_通行="(你只做得MD5串)" 哪里的 ID = (id#-你正在重新设置的帐户的id 的密码)" (事实上改变了密码)
#"SELECT ID, user_login, user_pass FROM (name-of-table-you-found)" (confirm that it was changed)
#" (你找到的表格名中)选择ID,用户_登录,用户_通行" (确定这已经改了)
#(type Control-D, to exit mysql client)
#(输入Control-D,退出mysql 帐户)
 
注:如果你有MySQL的最近的版本(5.x?版本)你可以让MySQL帮你计算出MD5的无用信息。
Note if you have a recent version of MySQL (version 5.x?) you can have MySQL compute the MD5 hash for you.
#跳过以上的第一步。
# Skip step 1. above.
#取而代之的是为第七步做以下的事。
# Do the following for step 7. instead.
#* "更新 (你找到的表格名) 设置 用户_通行 = MD5('"(新密码)"') 哪里的 ID = (#-你重新为你的id帐户设置密码)" (事实上改变了密码)
#* "UPDATE (name-of-table-you-found) SET user_pass = MD5('"(new-password)"') WHERE ID = (id#-of-account-you-are-reseting-password-for)" (actually changes the password)
== 通过 phpMyAdmin ==
 
这篇文章是针对那些拥有[[Wordpress:phpMyAdmin|phpMyAdmin]]权限进入数据库的人所写的。'''注:使用phpMyAdmin的风险是由你自己负责的。如果你怀疑自己使用它的能力,可以寻求更多的建议。对于数据的丢失,WordPress不负有责任。
== Through phpMyAdmin ==
首先登录到phpMyAdmin并且点击'''数据库'''
 
This article is for those who have [[Wordpress:phpMyAdmin]] access to their database. '''Note: use phpMyAdmin at your own risk. If you doubt your ability to use it, seek further advice. WordPress is not responsible for loss of data.'''
 
Begin by logging into phpMyAdmin and click '''databases'''.
<div style="width: 100%; position: relative;">
<div style="width: 100%; position: relative;">
<div style="width:25%; clear: both; float:left; display: inline; padding: 5px; margin: 10px 0;">
<div style="width:25%; clear: both; float:left; display: inline; padding: 5px; margin: 10px 0;">
[[Wordpress:Image:changepw2.jpg|thumb|left|图像 #2]]
[[Wordpress:Image:changepw2.jpg|thumb|left|Image #2]]
</div>
</div>
<div style="width:70%; float:right; display: inline; padding: 5px; margin: 10px 0;">
<div style="width:70%; float:right; display: inline; padding: 5px; margin: 10px 0;">
*会出现一列数据库。点击你的WordPress数据库。
*A list of databases will appear. Click your WordPress database.
</div>
</div>
<div style="width:25%; clear: both; float:left; display: inline; padding: 5px; margin: 10px 0;">
<div style="width:25%; clear: both; float:left; display: inline; padding: 5px; margin: 10px 0;">
[[Wordpress:Image:changepw3.jpg|thumb|center|图像 #3]]
[[Wordpress:Image:changepw3.jpg|thumb|center|Image #3]]
</div>
</div>
<div style="width:70%; float:right; display: inline; padding: 5px; margin: 10px 0;">
<div style="width:70%; float:right; display: inline; padding: 5px; margin: 10px 0;">
*你的数据库中的所有表格会出现。如果没有出现的话,点击'''结构'''
*All the tables in your database will appear. If not, click '''Structure'''.
*寻找'''wp_用户'''echo
*Look for '''wp_users'''.
*点击'''浏览''' 或者'''结构'''图标
*Click on the icon for '''browse''' or '''structure'''.
</div>
</div>
</div>
<div style="width:25%; clear: both; float:left; display: inline; padding: 5px; margin: 10px 0;">
<div style="width:25%; clear: both; float:left; display: inline; padding: 5px; margin: 10px 0;">
[[Wordpress:Image:changepw4.jpg|thumb|center|图像 #4]]
[[Wordpress:Image:changepw4.jpg|thumb|center|Image #4]]
</div>
</div>
<div style="width:70%; float:right; display: inline; padding: 5px; margin: 10px 0;">
<div style="width:70%; float:right; display: inline; padding: 5px; margin: 10px 0;">
下一个屏面罗列了wp_用户表中的栏。
The next screen lists the fields within the wp_users table.
*'''用户_登录'''点击'''浏览'''并且找到注册有关的ID数字。记住这个数字。
 
*返回到wp_用户表。
*On '''user_login''' click '''browse''' and find the ID number associated with your login. Remember it.
*'''用户_通行'''一栏中,点击'''浏览'''并且找到与你的登录相关的ID数字。
*Go back to the wp_users table.
*On the '''user_pass''' field, click '''browse''' and find the ID number associated with your login.
</div>
</div>
<div style="width:25%; clear: both; float:left; display: inline; padding: 5px; margin: 10px 0;">
<div style="width:25%; clear: both; float:left; display: inline; padding: 5px; margin: 10px 0;">
[[Wordpress:Image:changepw6.jpg|thumb|center|图像 #6]]
[[Wordpress:Image:changepw6.jpg|thumb|center|Image #6]]
</div>
</div>
<div style="width:70%; float:right; display: inline; padding: 5px; margin: 10px 0;">
<div style="width:70%; float:right; display: inline; padding: 5px; margin: 10px 0;">
*点击'''编辑'''
*Click '''edit'''.
*ID数字旁边是一长串的数字和字母。
*Next to the ID number is a long list of numbers and letters.
*选中并且将这些删除,输进你的新密码。
*Select and delete these and type in your new password.
*输入你想使用的密码。只要正常将它输进,就可以了,但是要记住,它要求注意大小写。
*Type in the password you want to use. Just type it in normally, but remember, it is case-sensitive.
*在这个例子中,新的密码是'rabbitseatcarrots'
*In this example, the new password will be 'rabbitseatcarrots'
*你一旦完成了这一步,点击显示的下拉菜单,并且从菜单中选中MD5.
*Once you have done that, click the dropdown menu indicated, and select MD5 from the menu.
</div>
</div>
<div style="width:25%; clear: both; float:left; display: inline; padding: 5px; margin: 10px 0;">
<div style="width:25%; clear: both; float:left; display: inline; padding: 5px; margin: 10px 0;">
[[Wordpress:Image:changepw7.jpg|thumb|center|图像#7]]
[[Wordpress:Image:changepw7.jpg|thumb|center|Image #7]]
</div>
</div>
<div style="width:70%; float:right; display: inline; padding: 5px; margin: 10px 0;">
<div style="width:70%; float:right; display: inline; padding: 5px; margin: 10px 0;">
*核实一下你的密码的确是正确的,而且MD5在栏中。
*Check that your password is actually correct, and that MD5 is in the box.
</div>
</div>
<div style="width:90%; clear: both; float:left; display: inline; padding: 5px; margin: 10px 0;">
<div style="width:90%; clear: both; float:left; display: inline; padding: 5px; margin: 10px 0;">
*点击 'Go'(运行)按钮到按钮右边。
*Click the 'Go' button to the bottom right.
*在登录界面上测试一下新的密码。如果不能运行,核实一下你有没有完全地遵循这些指示。
*Test the new password on the login screen. If it doesn't work, check that you've followed these instructions exactly.
</div>
</div>
</div>
</div>
<div style="clear:both; height:1px;">&nbsp;</div>
<div style="clear:both; height:1px;">&nbsp;</div>
==使用紧急情况下设置密码的脚本==
 
如果上面罗列的其它方法还是不能起作用,就试一下 紧急设置密码脚本。这不是一个插件,而是一个PHP脚本。
==Using the Emergency Password Reset Script==
;警示:  
 
#要求你知道管理者用户名。
If the other solutions listed above won't work, then try the Emergency Password Reset Script. It is not a Plugin. It is a PHP script.
#它更新了管理者的密码并且向管理者邮箱发送了一封邮件。
 
#如果你没有收到邮件,密码还是更改了。
; Warnings :
#你不需要登录进来使用它。如果你能够登录,你就不需要脚本了。
# Requires you know the administrator username.  
#将这个放到你的WordPress安装的根上。不要将这个上传到WordPress插件目录上。
# It updates the administrator password and sends an email to the administrator's email address. 
#你可以为安全考虑而删除脚本。
# If you don't receive the email, the password is still changed.
;用法说明:
# You do not need to be logged in to use it. If you could login, you wouldn't need the script.
# [http://www.village-idiot.org/archives/2007/05/22/wp-emergency-password-recovery/ Village Idiot WordPress 紧急密码脚本]上下载脚本。
# Place this in the root of your WordPress installation. Do not upload this to your WordPress Plugins directory.
# 打开下载的压缩文件。
# Delete the script when you are done for security reasons.
# 将emergency.php文件上传到WordPress安装的根目录上(与包含wp-config.php的目录是同一个目录)。
 
# 在你的浏览器上,打开http:&#47;&#47;example.com/emergency.php.
; Directions for use :
# 如上面所说明的,输入管理者用户名(通常是 admin)和新的密码,然后点击'''更新选择 '''。一条信息会显示改变了的密码。一封含有改变了的密码信息的邮件会发送到博客的管理者。
# Download the script from [http://www.village-idiot.org/archives/2007/05/22/wp-emergency-password-recovery/ Village Idiot WordPress Emergency Password Script].
#'''当你完成了一行,从你的服务器上删掉emergency.php。'''不要将它存放在你的服务器上,因为其他人可以用它来更改你的密码。
# Unpack the downloaded zip file.
# Upload the file emergency.php to the root of your WordPress installation (the same directory that contains wp-config.php).
# In your browser, open http:&#47;&#47;example.com/emergency.php.
# As instructed, enter the administrator username (usually admin) and the new password, then click '''Update Options'''.  A message is displayed noting the changed password. An email is sent to the blog administrator with the changed password information.
# '''Delete emergency.php from your server when you are done.''' Do not leave it on your server as someone else could use it to change your password.
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅Wordpress-mediawiki:版权的细节)。 未经许可,请勿提交受版权保护的作品!
取消 编辑帮助(在新窗口中打开)