请教SQL Server2000 默认密码策略 sql 数据库 密码策略 永久密码设置方法
\u8bf7\u6559SQL Server2000 \u9ed8\u8ba4\u5bc6\u7801\u7b56\u7565SQL Server \u53ef\u4ee5\u5bf9\u5728 SQL Server \u5185\u90e8\u4f7f\u7528\u7684\u5bc6\u7801\u5e94\u7528\u5728 Windows \u4e2d\u4f7f\u7528\u7684\u76f8\u540c\u590d\u6742\u6027\u7b56\u7565\u548c\u8fc7\u671f\u7b56\u7565\u3002
\u5b9e\u65bd\u5bc6\u7801\u590d\u6742\u6027\u7b56\u7565\u65f6\uff0c\u65b0\u5bc6\u7801\u5fc5\u987b\u7b26\u5408\u4ee5\u4e0b\u539f\u5219\uff1a
\u5bc6\u7801\u4e0d\u5f97\u5305\u542b\u5168\u90e8\u6216\u90e8\u5206\u7528\u6237\u5e10\u6237\u540d\u3002
\u90e8\u5206\u5e10\u6237\u540d\u662f\u6307\u4e09\u4e2a\u6216\u4e09\u4e2a\u4ee5\u4e0a\u4e24\u7aef\u7528\u201c\u7a7a\u767d\u201d\uff08\u7a7a\u683c\u3001\u5236\u8868\u7b26\u3001\u56de\u8f66\u7b26\u7b49\uff09\u6216\u4efb\u4f55\u4ee5\u4e0b\u5b57\u7b26\u5206\u9694\u7684\u8fde\u7eed\u5b57\u6bcd\u6570\u5b57\u5b57\u7b26\uff1a\u9017\u53f7
(,)\u3001\u53e5\u70b9 (.)\u3001\u8fde\u5b57\u7b26 (-)\u3001\u4e0b\u5212\u7ebf (_) \u6216\u6570\u5b57\u7b26\u53f7 (#)\u3002
\u5bc6\u7801\u957f\u5ea6\u81f3\u5c11\u4e3a\u516b\u4e2a\u5b57\u7b26\u3002
\u5bc6\u7801\u5305\u542b\u4ee5\u4e0b\u56db\u7c7b\u5b57\u7b26\u4e2d\u7684\u4e09\u7c7b\uff1a
\u62c9\u4e01\u6587\u5927\u5199\u5b57\u6bcd (A - Z)
\u62c9\u4e01\u6587\u5c0f\u5199\u5b57\u6bcd (a - z)
10 \u4e2a\u57fa\u672c\u6570\u5b57 (0 - 9)
\u975e\u5b57\u6bcd\u6570\u5b57\u5b57\u7b26\uff0c\u5982\u611f\u53f9\u53f7 (!)\u3001\u7f8e\u5143\u7b26\u53f7 ($)\u3001\u6570\u5b57\u7b26\u53f7 (#) \u6216\u767e\u5206\u53f7 (%)\u3002
\u5bc6\u7801\u53ef\u6700\u957f\u4e3a 128 \u4e2a\u5b57\u7b26\u3002
\u4f7f\u7528\u7684\u5bc6\u7801\u5e94\u5c3d\u53ef\u80fd\u957f\uff0c\u5c3d\u53ef\u80fd\u590d\u6742\u3002
\u4fee\u6539oracle\u7528\u6237\u5bc6\u7801\u6c38\u4e0d\u8fc7\u671f\uff1a
1\u3001\u67e5\u770b\u7528\u6237\u7684proifle\u662f\u54ea\u4e2a\uff0c\u4e00\u822c\u662fdefault\uff1a
sql>SELECT username,PROFILE FROM dba_users;
2\u3001\u67e5\u770b\u6307\u5b9a\u6982\u8981\u6587\u4ef6\uff08\u5982default\uff09\u7684\u5bc6\u7801\u6709\u6548\u671f\u8bbe\u7f6e\uff1a
sql>SELECT * FROM dba_profiles s WHERE s.profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME';
3\u3001\u5c06\u5bc6\u7801\u6709\u6548\u671f\u7531\u9ed8\u8ba4\u7684180\u5929\u4fee\u6539\u6210\u201c\u65e0\u9650\u5236\u201d\uff1a
sql>ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
\u4fee\u6539\u4e4b\u540e\u4e0d\u9700\u8981\u91cd\u542f\u52a8\u6570\u636e\u5e93\uff0c\u4f1a\u7acb\u5373\u751f\u6548\u3002
4\u3001\u4fee\u6539\u540e\uff0c\u8fd8\u6ca1\u6709\u88ab\u63d0\u793aORA-28002\u8b66\u544a\u7684\u5e10\u6237\u4e0d\u4f1a\u518d\u78b0\u5230\u540c\u6837\u7684\u63d0\u793a\uff1b
\u5df2\u7ecf\u88ab\u63d0\u793a\u7684\u5e10\u6237\u5fc5\u987b\u518d\u6539\u4e00\u6b21\u5bc6\u7801\uff0c\u4e3e\u4f8b\u5982\u4e0b\uff1a\u4e2d\u534e\u8003\u8bd5\u7f51
$sqlplus / as sysdba
sql> alter user smsc identified by ----\u4e0d\u7528\u6362\u65b0\u5bc6\u7801
实施密码复杂性策略时,新密码必须符合以下原则:
密码不得包含全部或部分用户帐户名。
部分帐户名是指三个或三个以上两端用“空白”(空格、制表符、回车符等)或任何以下字符分隔的连续字母数字字符:逗号
(,)、句点 (.)、连字符 (-)、下划线 (_) 或数字符号 (#)。
密码长度至少为八个字符。
密码包含以下四类字符中的三类:
拉丁文大写字母 (A - Z)
拉丁文小写字母 (a - z)
10 个基本数字 (0 - 9)
非字母数字字符,如感叹号 (!)、美元符号 ($)、数字符号 (#) 或百分号 (%)。
密码可最长为 128 个字符。
使用的密码应尽可能长,尽可能复杂。
扩展阅读:windows server 2019 ... sql server免费版和收费版 ... server2019各个版本 ... sql server能不能删 ... microsoft sql server ... sql server实例删除 ... sql server2008r2 ... sql server在线编译器 ... sql server入门 ...