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

推荐订阅源

博客园 - 叶小钗
云风的 BLOG
云风的 BLOG
G
Google Developers Blog
S
SegmentFault 最新的问题
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
美团技术团队
爱范儿
爱范儿
博客园 - 三生石上(FineUI控件)
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
DataBreaches.Net
F
Fortinet All Blogs
TaoSecurity Blog
TaoSecurity Blog
D
Docker
C
Cybersecurity and Infrastructure Security Agency CISA
K
Kaspersky official blog
宝玉的分享
宝玉的分享
腾讯CDC
Google Online Security Blog
Google Online Security Blog
Recorded Future
Recorded Future
T
The Exploit Database - CXSecurity.com
T
The Blog of Author Tim Ferriss
V
V2EX
S
Securelist
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
C
CERT Recently Published Vulnerability Notes
A
Arctic Wolf
Scott Helme
Scott Helme
L
LINUX DO - 热门话题
Y
Y Combinator Blog
P
Proofpoint News Feed
T
Tor Project blog
AWS News Blog
AWS News Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
The Last Watchdog
The Last Watchdog
博客园 - 聂微东
T
Threat Research - Cisco Blogs
B
Blog
Attack and Defense Labs
Attack and Defense Labs
L
Lohrmann on Cybersecurity
C
CXSECURITY Database RSS Feed - CXSecurity.com
阮一峰的网络日志
阮一峰的网络日志
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
IT之家
IT之家
N
News and Events Feed by Topic
博客园 - 司徒正美
H
Help Net Security
C
Cisco Blogs
C
Check Point Blog
S
Secure Thoughts

博客园 - 邵印中

DBF数据库资料 DELPHI高精度计时方法,取毫秒级时间精度 电脑不能开机之U盘问题 电脑自动关机之CPU风扇烧坏 广州小灵通呼叫转移 - 邵印中 - 博客园 数字电视,方便了谁 解决连接SQL Server 2000的TCP/IP错误的Bug 商品EAN13条码的生成 商品条码的生成 关于错误“Cannot connect to the Citrix MetaFrame server.Can't assign requested address”的解决方法 电脑死机之CPU温度过高 winrar 8 注册方法 "加载类型库/dll时出错" 的解决方法 删除子窗体中的控件中的某些属性时出现"Selection contains a component introduced in an ancestor form which cannot be deleted."错误的解决方法 SC命令配置服务 There is no Citrix MetaFrame server configured on the specified address错误的解决方法 ASP.NET AJAX,WCF,ADO.NET Entity 开发实例 Citrix 客户端登录出现wfshell.exe - 应用程序错误的解决方法 WCF 学习资源
SQL 2005如何更改服务器身份验证模式
邵印中 · 2009-02-19 · via 博客园 - 邵印中

如何更改服务器身份验证模式

安装过程中,SQL Server 数据库引擎设置为 Windows 身份验证模式SQL Server 和 Windows 身份验证模式。本主题介绍如何在安装后更改安全模式。

如果在安装过程中选择“Windows 身份验证模式”,则 sa 登录将被禁用。如果稍后将身份验证模式更改为“SQL Server 和 Windows 身份验证模式”,则 sa 登录仍处于禁用状态。若要启用 sa 登录帐户,请使用 ALTER LOGIN 语句。

ms188670.security(zh-cn,SQL.90).gif安全说明:
sa 登录选择一个强密码非常重要。

sa 登录帐户只能使用 SQL Server 身份验证连接到服务器。

 更改安全身份验证模式

  1. 在 SQL Server Management Studio 的对象资源管理器中,右键单击服务器,再单击“属性”

  2. “安全性”页上的“服务器身份验证”下,选择新的服务器身份验证模式,再单击“确定”

  3. 在 SQL Server Management Studio 对话框中,单击“确定”以确认需要重新启动 SQL Server。

 从 SQL Server Management Studio 重新启动 SQL Server

  1. 在对象资源管理器中,右键单击您的服务器,再单击“重新启动”。如果运行有 SQL Server 代理,则也必须重新启动该代理。

 使用 Transact-SQL 启用 sa 登录帐户

  1. 执行下列语句以启用 sa 密码并分配一个密码。

    ALTER LOGIN sa ENABLE ;
        GO
        ALTER LOGIN sa WITH PASSWORD = '<password>' ;
        GO
        

 使用 Management Studio 启用 sa 登录帐户

  1. 在对象资源管理器中,依次展开“安全”、“登录名”,右键单击“sa”,再单击“属性”

  2. “常规”页上,您可能需要为 sa 登录名创建密码并确认该密码。

  3. “状态”页的“登录”部分中,单击“启用”,然后单击“确定”

posted on 2009-02-19 17:55  邵印中  阅读(825)  评论()    收藏  举报