惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Help Net Security
博客园 - Franky
GbyAI
GbyAI
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
爱范儿
爱范儿
IT之家
IT之家
酷 壳 – CoolShell
酷 壳 – CoolShell
aimingoo的专栏
aimingoo的专栏
博客园_首页
MongoDB | Blog
MongoDB | Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Recent Announcements
Recent Announcements
Scott Helme
Scott Helme
有赞技术团队
有赞技术团队
M
MIT News - Artificial intelligence
C
CERT Recently Published Vulnerability Notes
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Jina AI
Jina AI
F
Fortinet All Blogs
N
Netflix TechBlog - Medium
L
LangChain Blog
L
LINUX DO - 最新话题
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
H
Hacker News: Front Page
MyScale Blog
MyScale Blog
P
Palo Alto Networks Blog
G
Google Developers Blog
Google DeepMind News
Google DeepMind News
AI
AI
T
Troy Hunt's Blog
Microsoft Azure Blog
Microsoft Azure Blog
阮一峰的网络日志
阮一峰的网络日志
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Vercel News
Vercel News
Microsoft Security Blog
Microsoft Security Blog
罗磊的独立博客
S
Secure Thoughts
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
人人都是产品经理
人人都是产品经理
Blog — PlanetScale
Blog — PlanetScale
博客园 - 司徒正美
Apple Machine Learning Research
Apple Machine Learning Research
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 三生石上(FineUI控件)
S
Security @ Cisco Blogs
Cloudbric
Cloudbric
E
Exploit-DB.com RSS Feed
Attack and Defense Labs
Attack and Defense Labs

博客园 - 焰凌

Poor code: Dynamic changing of table schema When we need to inherit from WSS WebPart class? The issue of upload big file on SharePoint with IIS7 Why no effects when change the "Site Master Page Settings" from "Site Actions - Site Settings - Look and Feel - Master Page"? HttpApplication机制 "NOT IN", "JOIN...IS NULL", "NOT EXISTS" 之间的效率对比 为SharePoint新项目做准备 MOSS 2007 SSP (1) How to create and delete a SharePoint site by web application Search user of specific domain name Received DGT's document 水晶报表PUSH模式多个表数据的显示 上海电信之具有地域歧视的霸王条款 来上海一年多了,第一次感冒! differentia of [string str=null;] and [string str="";] 搬家了,没宽带了 工作以后 找不到状态了! 页面缓存的困扰
怎样在MOSS2007和WSS3.0中修改服务帐户和密码
焰凌 · 2008-05-14 · via 博客园 - 焰凌

经常遇到一些情况比如安装SharePoint时所设置的帐户密码过期或者密码以修改,导致SharePoint发生种种异常。相信除我之外还有很多朋友也可能遇到这样的问题。今天在网上发现一篇文章可以解决这个问题。特简单翻译一下发在这里。

请参照以下步骤修改MOSS 2007及WSS3.0中的服务帐户和密码:

注意:如果 SQL Server 服务使用的是域帐户,并且该域帐户的密码已经过期或失效,请在执行以下步骤前更新密码。

1. 更新 Central Administration application pool 所使用的帐户密码:
 a. 在 SharePoint 服务器场的所有服务器上,打开控制台,输入以下命令并回车:
  cd %commonprogramfiles%\Microsoft Shared\Web server extensions\12\Bin
 b. 在 Central Administration 站点所在服务器上,在控制台中输入以下命令并回车:
  stsadm -o updatefarmcredentials -userlogin DomainName\UserName -password NewPassword
 c. 在SharePoint 服务器场的所有其他服务器上,在控制台中输入以下命令并回车:
  stsadm -o updatefarmcredentials -userlogin DomainName\UserName -password NewPassword -local
 d. 在控制台中输入以下命令以重启IIS:
  iisreset /noforce
2. 验证 Administration Application Pool Credential Deployment job definition 不再显示在 Central Administration 的 Timer Job Definitions 页面中:
 a. 打开 SharePoint 3.0 Central Administration,点击 Operations,再点击 Global Configuration 中的 Timer job definitions。
 b. 检查以验证 Administration Application Pool Credential Deployment job definition 没有显示在列表中。
3. 更新服务器场中Web站点所使用的应用程序池的账号密码。在服务器场中每台服务器的控制台中输入以下命令并回车:
 stsadm -o updateaccountpassword -userlogin DomainName\UserName -password NewPassword -noadmin
4. 更新 Windows SharePoint Services Help Search 服务运行时所使用的账号密码,在服务器场中每台服务器的控制台中输入以下命令并回车
 stsadm.exe -o spsearch -farmserviceaccount DomainName\UserName -farmservicepassword NewPassword
5. 更新 Windows SharePoint Services Help Search 服务的默认内容访问账号的密码,在服务器场中每台服务器的控制台中输入以下命令并回车
 stsadm.exe -o spsearch -farmcontentaccessaccount DomainName\UserName -farmcontentaccesspassword NewPassword
6. 如果使用的是 MOSS 2007,还需要执行下列步骤:
 a. 更新服务器场中每个 Shared Services Provider (SSP) 所使用的账号密码,在服务器场中每台服务器的控制台中输入以下命令并回车
  stsadm.exe -o editssp -title SharedServicesProviderName -ssplogin DomainName\UserName -ssppassword NewPassword
 b. 更新 Office SharePoint Server Search 服务运行时所使用的账号密码,在控制台中输入以下命令并回车
  stsadm.exe -o osearch -farmserviceaccount DomainName\UserName -farmservicepassword NewPassword
 c. 如果服务器场使用 single sign-on, 还需要执行以下步骤来更新 Microsoft Single Sign-On 服务运行时所使用的账号密码:
  1. 在 Central Administration 页面中单击 Operations,选择 Security Configuration 中的 Service accounts。
  2. 点击 Windows service 下的 Single Sign-On Service。
  3. 在 Configurable 下面设置密码并单击OK。
 d. 更新 Office SharePoint Server Search 服务的默认内容访问帐号的密码:
  1. 打开 Central Administration,在 Shared Services Administration 下面单击链接到 SSP web 站点的链接。
  2. 在 Search 下单击 Search settings,再点击 Default content access account。
  3. 设置密码,并点击OK。

示例脚本:
下面的脚本展示了如何使用前面的过程来创建一个批处理命令,用于自动更新密码。请使用 FileName.bat DomainName\UserName NewPassword 格式来运行该脚本。

Bat Content @echo off
rem other app pools
echo *** Updating app pool passwords
"%commonprogramfiles%\Microsoft Shared\Web server extensions\12\BIN\Stsadm.exe" -o updateaccountpassword -userlogin %1 -password %2 -noadmin
rem central admin
echo *** Updating Central Admin password
"%commonprogramfiles%\Microsoft Shared\Web server extensions\12\BIN\Stsadm.exe" -o updatefarmcredentials -userlogin %1 -password %2
rem ssp - new
echo *** Updating ssp password for new installs
"%commonprogramfiles%\Microsoft Shared\Web server extensions\12\BIN\Stsadm.exe" -o editssp -title "SharedServices1" -ssplogin %1 -ssppassword %2
rem ssp - upgrade
echo *** Updating ssp password for upgraded installs
"%commonprogramfiles%\Microsoft Shared\Web server extensions\12\BIN\Stsadm.exe" -o editssp -title "Default Web Site" -ssplogin %1 -ssppassword %2
rem osearch
echo *** Updating osearch password
"%commonprogramfiles%\Microsoft Shared\Web server extensions\12\BIN\Stsadm.exe" -o osearch -farmserviceaccount %1 -farmservicepassword %2
echo *** MANUAL UPDATE NEEDED. To update the password, visit the SSP Web application page, click Search Settings, and then click Default Content Access Account.
rem spsearch
echo *** Updating spsearch password
"%commonprogramfiles%\Microsoft Shared\Web server extensions\12\BIN\Stsadm.exe" -o spsearch -farmserviceaccount %1 -farmservicepassword %2
echo *** Updating spsearch content access account
"%commonprogramfiles%\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o spsearch -farmcontentaccessaccount %1 -farmcontentaccesspassword %2
rem restarting IIS
echo *** Doing soft restart of IIS
iisreset /noforce
echo on

修改上面的脚本以修改您服务器场中的所有SSP。如果您的服务器场设置为 single sign-on,您必须使用 sc config 命令

原文地址:

http://support.microsoft.com/kb/934838/en-us/