ºìÁªLinuxÃÅ»§
Linux°ïÖú

Oracle 9iÃÜÂë²ßÂÔ£­£­ÃÜÂëÖØÓùæÔò

·¢²¼Ê±¼ä:2006-08-18 00:08:41À´Ô´:ºìÁª×÷Õß:Explore
¡¡¡¡Oracleͨ¹ýPROFILEÖеÄPASSWORD_REUSE_TIMEºÍPASSWORD_REUSE_MAXÀ´È·¶¨ÃÜÂëÊÇ·ñ¿ÉÒÔÖØÓÃÒÔ¼°ÃÜÂëÖØÓõÄÏÞÖÆ¡£


¡¡¡¡µ«ÊÇ£¬¾­¹ý²âÊÔ£¬·¢ÏÖOracleµÄADMINISTRATOR GUIDEÀïÃæµÄÃèÊöÊÇ´íÎóµÄ£¬ÎÒ²éÔÄÁËÒ»ÏÂMETALINK£¬METALINKÉϵÄһƪÎÄÕÂËäÈ»¶ÔÕâÁ½¸ö²ÎÊý½øÐÐÁ˱ȽÏÏêϸµÄ˵Ã÷£¬µ«ÊÇÈÔÈ»ÓÐÒ»²¿·ÖÃèÊöÊÇ´íÎó¡£


¡¡¡¡PASSWORD_REUSE_TIMEÊÇÖØÓÃÃÜÂëµÄ×îСʱ¼ä¼ä¸ô£¬µ¥Î»ÊÇÌì¡£¿ÉÒÔ¸ø³öÕûÊý»ò·ÖÊý£¬Èç1/1440±íʾ1·ÖÖÓ£¨³öÓÚЧÂʵĿ¼ÂÇ£¬oracle²»»áÿ·ÖÖÓ¶¼È¥½øÐмì²é£¬Ò»°ãÀ´Ëµ£¬ÓÐ5·ÖÖÓ×óÓÒµÄÎó²î£¬Òò´ËÈç¹ûÕâ¸öÊýСÓÚ1/144ÔòûÓжà´óµÄÒâÒ壩¡£


¡¡¡¡PASSWORD_REUSE_MAXÊÇÖØÓÃÃÜÂëÇ°¸ü»»ÃÜÂëµÄ×îС´ÎÊý¡£ÕâÁ½Ïî±¾ÉíûÓÐÈκÎÒìÒ飬¹Ø¼üÊÇÁ½ÏîÈçºÎÅäºÏʹÓ᣿ÉÒÔ·ÖΪ3ÖÖÇé¿ö½øÐÐÃèÊö£º


Ò»¡¢PASSWORD_REUSE_MAXºÍPASSWORD_REUSE_TIME¶¼ÎªUNLIMITED


¡¡¡¡ÕâʱÃÜÂë¿ÉÒÔÈÎÒâÖØÓã¬Ã»ÓÐÏÞÖÆÕâÒ²ÊÇDEFAULT profileµÄĬÈÏÖµ¡£µ±ÕâÁ½ÏΪUNLIMITEDʱ£¬ÈÏΪÕâÁ½¸ö²ÎÊýûÓÐʹÓã¬Òò´Ë£¬ÃÜÂëÖØÓÃûÓÐÈκÎÏÞÖÆ¡£


ÒýÓÃ:
SQL> create profile prof_test limit password_reuse_max unlimited
2password_reuse_time unlimited;
ÅäÖÃÎļþÒÑ´´½¨
SQL> create user test identified by test profile prof_test;
Óû§ÒÑ´´½¨
SQL> alter user test identified by test;
Óû§ÒѸü¸Ä¡£
SQL> alter user test identified by test;
Óû§ÒѸü¸Ä¡£




¶þ¡¢PASSWORD_REUSE_MAXºÍPASSWORD_REUSE_TIMEÖÐÓÐÒ»¸öΪUNLIMITED£¬ÁíÒ»¸öΪÆäËûÖµ¡£


¡¡¡¡Õâ¸öʱºòÄãµÄÃÜÂ뽫ÓÀÔ¶ÎÞ·¨ÖØÓá£


¡¡¡¡¿´¿´administrator guideÉÏÊÇÔõô˵µÄ£º


ÒýÓÃ:
Use the CREATE PROFILE statement to specify a time interval during which users
cannot reuse a password. In the following statement, a profile is defined where
the PASSWORD_REUSE_TIME clause specifies that the user cannot reuse the
password
for 60 days.

CREATE PROFILE prof LIMIT
PASSWORD_REUSE_TIME 60
PASSWORD_REUSE_MAX UNLIMITED;

In the next statement, the PASSWORD_REUSE_MAX clause specifies that the number
of password changes the user must make before the current password can be used
again is three.

CREATE PROFILE prof LIMIT
PASSWORD_REUSE_MAX 3
PASSWORD_REUSE_TIME UNLIMITED;

Note: If you specify PASSWORD_REUSE_TIME or PASSWORD_REUSE_MAX, you must set
the other to UNLIMITED or not specify it at all.





¡¡¡¡Îĵµ¸æËßÎÒÃÇ£¬Ö»Ê¹ÓÃÆäÖÐÒ»¸ö£¬°ÑÁíÍâÒ»¸öÉèÖÃΪUNLIMITED£¬µ«ÊÇÕâÊDz»ÕýÈ·µÄ£¬ÕâÑù»áµ¼ÖÂÄãµÄÃÜÂëÓÀÔ¶ÎÞ·¨ÖØÓá£


ÒýÓÃ:
SQL> alter profile prof_test limit password_reuse_max 3;

ÅäÖÃÎļþÒѸü¸Ä

SQL> select resource_name, limit from dba_profiles
2where profile = 'PROF_TEST' and resource_type = 'PASSWORD';

RESOURCE_NAMELIMIT
-------------------------------- ----------------------------------------
FAILED_LOGIN_ATTEMPTSDEFAULT
PASSWORD_LIFE_TIMEDEFAULT
PASSWORD_REUSE_TIMEUNLIMITED
PASSWORD_REUSE_MAX3
PASSWORD_VERIFY_FUNCTIONDEFAULT
PASSWORD_LOCK_TIMEDEFAULT
PASSWORD_GRACE_TIMEDEFAULT

ÒÑÑ¡Ôñ7ÐС£

SQL> alter user test identified by test;
Óû§ÒѸü¸Ä¡£
SQL> alter user test identified by test;
alter user test identified by test
*
ERROR λÓÚµÚ 1 ÐÐ:
ORA-28007: ÎÞ·¨ÖØÐÂʹÓÿÚÁî
SQL> alter user test identified by t1;
Óû§ÒѸü¸Ä¡£
SQL> alter user test identified by t2;
Óû§ÒѸü¸Ä¡£
SQL> alter user test identified by t3;
Óû§ÒѸü¸Ä¡£
SQL> alter user test identified by test;
alter user test identified by test
*
ERROR λÓÚµÚ 1 ÐÐ:
ORA-28007: ÎÞ·¨ÖØÐÂʹÓÿÚÁî


¡¡¡¡ÐÞ¸Äprofileºó£¬Ö»¶ÔtestÓû§µÄºóÐø²Ù×÷ÓÐЧ£¬µÚÒ»´Î¿ÉÒÔÐÞ¸ÄÃÜÂëΪtestÊÇÒòΪoracleûÓмǼ³õʼÃÜÂ룬¶øµÚ¶þ´ÎÐ޸ľͻáʧ°Ü£¬ÒòΪÃÜÂëÒѾ­²»ÄÜÖØÓÃÁË¡£


¡¡¡¡¸ù¾ÝÎĵµ£¬ÎÒÃÇÖ»ÐèÒªÐÞ¸ÄÃÜÂëÈý´Î£¬¾Í¿ÉÒÔÖØÓ㬵«ÊDzâÊԵĽá¹ûÈ·ÊÇÃÜÂëÎÞ·¨ÔÚÖØÓá£


ÒýÓÃ:
SQL> alter profile prof_test limit password_reuse_max unlimited;
ÅäÖÃÎļþÒѸü¸Ä
SQL> alter user test identified by test;
Óû§ÒѸü¸Ä¡£
SQL> alter profile prof_test limit password_reuse_time 1/144;
ÅäÖÃÎļþÒѸü¸Ä
SQL> select resource_name, limit from dba_profiles
2where profile = 'PROF_TEST' and resource_type = 'PASSWORD';

RESOURCE_NAMELIMIT
-------------------------------- ----------------------------------------
FAILED_LOGIN_ATTEMPTSDEFAULT
PASSWORD_LIFE_TIMEDEFAULT
PASSWORD_REUSE_TIME.0069
PASSWORD_REUSE_MAXUNLIMITED
PASSWORD_VERIFY_FUNCTIONDEFAULT
PASSWORD_LOCK_TIMEDEFAULT
PASSWORD_GRACE_TIMEDEFAULT
ÒÑÑ¡Ôñ7ÐС£
SQL> set time on
16:47:29 SQL> alter user test identified by test;
alter user test identified by test
*
ERROR λÓÚµÚ 1 ÐÐ:
ORA-28007: ÎÞ·¨ÖØÐÂʹÓÿÚÁî
16:47:48 SQL>
16:48:23 SQL>
16:59:45 SQL> alter user test identified by test;
alter user test identified by test
*
ERROR λÓÚµÚ 1 ÐÐ:
ORA-28007: ÎÞ·¨ÖØÐÂʹÓÿÚÁî
16:59:59 SQL>
17:07:32 SQL> alter user test identified by test;
alter user test identified by test
*
ERROR λÓÚµÚ 1 ÐÐ:
ORA-28007: ÎÞ·¨ÖØÐÂʹÓÿÚÁî
17:07:40 SQL> set time off




¡¡¡¡ÐÞ¸ÄPASSWORD_REUSE_TIMEΪ1/144£¬Ò²¾ÍÊÇ˵´ó¸Å10·ÖÖÓµÄʱ¼ä£¬¿¼ÂǵÄoracleµÄÎó²î£¬ÎÒÃÇÔÚ10·ÖÖÓºÍ20·ÖÖÓºó·Ö±ð½øÐвâÊÔ¡£½á¹û·¢ÏÖÃÜÂëÈÔÈ»ÎÞ·¨ÖØÓá£


Èý¡¢PASSWORD_REUSE_MAXºÍPASSWORD_REUSE_TIME¶¼²»ÎªUNLIMITED¡£


¡¡¡¡ÕâʱֻÐèÂú×ãÈÎÒâÒ»¸öÌõ¼þ¾Í¿ÉÒÔÖØÓÃÃÜÂë


¡¡¡¡MetalinkÉϵÄÎÄÕÂÔÚÕâÀïÃèÊöÓÐÎó£¬ÃÜÂëÖØÓò»ÐèҪͬʱÂú×ãÁ½¸öÌõ¼þ£¬Ö»ÒªÂú×ãÒ»¸ö¼È¿É¡£


ÒýÓÃ:
SQL> alter profile prof_test limit password_reuse_time unlimited;
ÅäÖÃÎļþÒѸü¸Ä
SQL> alter user test identified by test;
Óû§ÒѸü¸Ä¡£
SQL> alter profile prof_test limit
2password_reuse_max 3 password_reuse_time 1/144;
ÅäÖÃÎļþÒѸü¸Ä
SQL> set time on
17:11:30 SQL> alter user test identified by test;
Óû§ÒѸü¸Ä¡£
17:11:47 SQL> alter user test identified by test;
alter user test identified by test
*
ERROR λÓÚµÚ 1 ÐÐ:
ORA-28007: ÎÞ·¨ÖØÐÂʹÓÿÚÁî
17:11:56 SQL> alter user test identified by t1;
Óû§ÒѸü¸Ä¡£
17:12:06 SQL> alter user test identified by t2;
Óû§ÒѸü¸Ä¡£
17:12:12 SQL> alter user test identified by t3;
Óû§ÒѸü¸Ä¡£
17:12:19 SQL> alter user test identified by test;
Óû§ÒѸü¸Ä¡£
17:12:50 SQL>
17:13:45 SQL> alter user test identified by test;
alter user test identified by test
*
ERROR λÓÚµÚ 1 ÐÐ:
ORA-28007: ÎÞ·¨ÖØÐÂʹÓÿÚÁî
17:13:55 SQL>
17:14:00 SQL>
17:32:14 SQL> alter user test identified by test;
Óû§ÒѸü¸Ä¡£




¡¡¡¡µÚÒ»´ÎÖØÓÃtestÃÜÂë²Å¹ýÁË1·ÖÖÓ×óÓÒ£¬¶øÔÚµÚ¶þ´ÎÖØÓÃtestÃÜÂë֮ǰ²¢Ã»ÓÐʹÓùýÆäËûÃÜÂë¡£¿É¼û£¬Ö»ÐèÂú×ãPASSWORD_REUSE_MAXºÍPASSWORD_REUSE_TIMEÖеÄÈÎÒâÒ»¸öÌõ¼þ¾Í¿ÉÒÔ¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 100 ÌõÆÀÂÛ

  1. 128.46.89.* ÓÚ 2007-09-05 02:55:01·¢±í:

    http://emeraldring.fora.pl/
    http://emeraldring.fora.pl/
    http://emeraldring.fora.pl/ - emerald cut wedding ring

  2. 61.152.108.* ÓÚ 2007-09-05 02:54:57·¢±í:

    http://emeraldring.fora.pl/
    http://emeraldring.fora.pl/
    http://emeraldring.fora.pl/ - emerald cut wedding ring

  3. 68.180.195.* ÓÚ 2007-09-01 21:02:21·¢±í:

    Hi, nice very nice page..!
    abb fund
    fund raising cook book
    abb fund
    fund raising cook book - http://fund.freewebpages.org/alaska-permanent-fund-dividend/index.html
    fund

    Good luck !
    PS: do you listen Linkin Park ?

  4. 207.44.238.* ÓÚ 2007-08-31 08:45:33·¢±í:

    Hi, nice very nice page..!
    fund raising counselor organization
    unique fund raising
    abb fund
    alaska permanent fund dividend
    abb fund - http://fund.freewebpages.org/mutual-fund-company/index.html

    Good luck !
    PS: do you listen Linkin Park ?

  5. 213.3.4.* ÓÚ 2007-08-31 08:45:07·¢±í:

    Hi, nice very nice page..!
    fund raising counselor organization
    unique fund raising
    abb fund
    alaska permanent fund dividend
    abb fund - http://fund.freewebpages.org/mutual-fund-company/index.html

    Good luck !
    PS: do you listen Linkin Park ?

  6. 68.180.195.* ÓÚ 2007-08-30 02:31:37·¢±í:

    Hi, nice very nice page..!
    fund raising event
    growth fund of america
    sample fund raising letter - http://fund.freewebpages.org/child-defense-fund/index.html
    hedge funds - http://fund.freewebpages.org/child-defense-fund/index.html
    fund raising event

    Good luck !
    PS: do you listen Linkin Park ?

  7. 0.0.0.* ÓÚ 2007-08-30 02:31:36·¢±í:

    Hi, nice very nice page..!
    fund raising event
    growth fund of america
    sample fund raising letter - http://fund.freewebpages.org/child-defense-fund/index.html
    hedge funds - http://fund.freewebpages.org/child-defense-fund/index.html
    fund raising event

    Good luck !
    PS: do you listen Linkin Park ?

  8. 81.170.101.* ÓÚ 2007-08-28 21:33:33·¢±í:

    Hi, nice very nice page..!
    money market rate - http://www.volny.cz/moneymarket1/money-market-savings-account/
    cnn money market stock
    money market mutual funds
    best money market rate
    money market interest rate - http://www.volny.cz/marketaccount/money-market-account-rate/

    Good luck !
    PS: do you listen Linkin Park ?

  9. 211.154.104.* ÓÚ 2007-08-27 06:09:55·¢±í:

    Hi, nice very nice page..!
    make money in stock market
    money market funds
    high yield money market account
    money market mutual funds
    money market mutual funds

    Good luck !
    PS: do you listen Linkin Park ?

  10. 0.0.0.* ÓÚ 2007-08-25 08:43:49·¢±í:

    Hi, nice very nice page..!
    best money market rate
    money market fund - http://www.volny.cz/moneyrate/money-banking-and-financial-market/
    money market fund
    make money in stock market
    high yield money market account

    Good luck !
    PS: do you listen Linkin Park ?

  11. 221.232.159.* ÓÚ 2007-08-23 18:38:18·¢±í:

    Hi, nice very nice page..!
    cnn money market stock - http://volny.cz/highestmoney/high-yield-money-market/
    vanguard money market funds - http://www.volny.cz/moneymarket/money-market-fund
    money market interest rate
    money market mutual funds
    make money in stock market - http://volny.cz/highestmoney/cnn-money-market-stock/

    Good luck !
    PS: do you listen Linkin Park ?

  12. 209.6.21.* ÓÚ 2007-08-14 06:35:12·¢±í:

    good work !
    chandelier lamp shades
    chandelier lamp shades
    chandelier lamp shades - www.desklamp1.fora.pl


    buy viagra online
    buy viagra online
    buy viagra online - www.buyviagraonlinex.fora.pl

    .
    norwegian pearl
    norwegian pearl
    norwegian pearl - http://volny.cz/norwegianpearl
    blackberry pearl white
    blackberry pearl white
    blackberry pearl white - http://volny.cz/blackberrypearlwhite
    pink pearls
    pink pearls
    pink pearls - http://volny.cz/pinkpearls
    blackberry pearl review
    blackberry pearl review
    blackberry pearl review - http://volny.cz/blackberrypearlrev
    pearl white
    pearl white
    pearl white - http://volny.cz/pearlwhite
    good luck

  13. 193.111.198.* ÓÚ 2007-08-14 02:28:55·¢±í:

    good work !
    chandelier lamp shades
    chandelier lamp shades
    chandelier lamp shades - www.desklamp1.fora.pl


    buy viagra online
    buy viagra online
    buy viagra online - www.buyviagraonlinex.fora.pl

    .
    norwegian pearl
    norwegian pearl
    norwegian pearl - http://volny.cz/norwegianpearl
    blackberry pearl white
    blackberry pearl white
    blackberry pearl white - http://volny.cz/blackberrypearlwhite
    pink pearls
    pink pearls
    pink pearls - http://volny.cz/pinkpearls
    blackberry pearl review
    blackberry pearl review
    blackberry pearl review - http://volny.cz/blackberrypearlrev
    pearl white
    pearl white
    pearl white - http://volny.cz/pearlwhite
    good luck

  14. 124.128.14.* ÓÚ 2007-08-12 20:16:11·¢±í:

    saltwater pearls
    saltwater pearls
    saltwater pearls - volny.cz/saltwaterpearls
    freshwater pearl jewelry
    freshwater pearl jewelry
    freshwater pearl jewelry - volny.cz/freshwaterpearljew
    cultured pearl jewelry
    cultured pearl jewelry
    cultured pearl jewelry - volny.cz/culturedpearljewelry
    black pearl earring
    black pearl earring
    black pearl earring - volny.cz/blackpearlearring
    pearl s buck
    pearl s buck
    pearl s buck - volny.cz/pearlsbuck

  15. 201.65.89.* ÓÚ 2007-08-09 02:17:43·¢±í:

    Hi, nice very nice page..!
    ford dealer clearanceford dealer clearanceford dealer clearance - www.volny.cz/forddealer
    blackberry buy pearl blackberry buy pearl blackberry buy pearl - http://volny.cz/blackberrybuypearl
    gmc in chicago gmc in chicago gmc in chicago - www.volny.cz/gmcyokun/
    lexus is250 review lexus is250 review lexus is250 review - www.volny.cz/lexus250/
    356 porsche sale 356 porsche sale 356 porsche sale - www.volny.cz/porsche356

    Good luck !
    PS: do you listen Linkin Park ?

  16. 202.44.8.* ÓÚ 2007-08-07 05:03:22·¢±í:

    desk lamp
    desk lamp - www.halogendesklamp.freehostia.com/desk-lamp/

    lamp shades
    lamp shades - www.halogendesklamp.freehostia.com/lamp-shades/

    office desk lamp
    office desk lamp - www.halogendesklamp.freehostia.com/office-desk-lamp/

  17. 217.141.105.* ÓÚ 2007-08-03 11:11:15·¢±í:

    thnx... nice site
    and i wan't see my:
    http://www.tablelamp.fora.pl/
    http://www.tablelamp.fora.pl/
    http://www.tablelamp.fora.pl/ - table lamp

  18. 59.95.181.* ÓÚ 2007-08-01 22:36:08·¢±í:

    art bondage http://cartoonfox.150m.com/art_bondage.html art bondage art bondage
    comic book bondage http://cartoonfox.150m.com/comic_book_bondage.html comic book bondage comic book bondage

    adult bondage comics http://cartoonfox.150m.com/adult_bondage_comics.html adult bondage comics adult bondage comics

    male bondage art http://cartoonfox.150m.com/male_bondage_art.html male bondage art male bondage art

    d bondage comics http://cartoonfox.150m.com/d_bondage_comics.html d bondage comics d bondage comics

  19. 221.128.181.* ÓÚ 2007-08-01 22:35:46·¢±í:

    art bondage http://cartoonfox.150m.com/art_bondage.html art bondage art bondage
    comic book bondage http://cartoonfox.150m.com/comic_book_bondage.html comic book bondage comic book bondage

    adult bondage comics http://cartoonfox.150m.com/adult_bondage_comics.html adult bondage comics adult bondage comics

    male bondage art http://cartoonfox.150m.com/male_bondage_art.html male bondage art male bondage art

    d bondage comics http://cartoonfox.150m.com/d_bondage_comics.html d bondage comics d bondage comics

  20. 217.150.245.* ÓÚ 2007-08-01 21:39:20·¢±í:

    diesel ford truck used
    diesel ford truck used
    diesel ford truck used - http://www.bcars.fora.pl/

    car insurance quote
    car insurance quote
    car insurance quote - http://www.carinsurancequote.fora.pl/

  21. 202.56.7.* ÓÚ 2007-07-31 04:53:51·¢±í:

    gmc trucks here www.gmctruck.fora.pl
    gmc from america www.gmctruck.fora.pl
    real gmc www.gmctruck.fora.pl


    and www.emeraldring.fora.pl rings

  22. 203.190.163.* ÓÚ 2007-07-30 08:57:21·¢±í:

    emerald rings and gold rings www.emeraldring.fora.pl

  23. 201.29.218.* ÓÚ 2007-07-17 11:00:17·¢±í:

    http://2f7c289f5060c325e849c43b7755723e-t.xkktxb.org 2f7c289f5060c325e849c43b7755723e http://2f7c289f5060c325e849c43b7755723e-b1.xkktxb.org 2f7c289f5060c325e849c43b7755723e http://2f7c289f5060c325e849c43b7755723e-b3.xkktxb.org 8d1f2bfe3cbc5359328d95464cab8b7c

  24. 216.218.252.* ÓÚ 2007-07-16 05:44:55·¢±í:

    domination comics http://adultcomics8jul.tripod.com/domination_comics.html domination comics domination comics

    cruel comics http://adultcomics8jul.tripod.com/cruel_comics.html cruel comics cruel comics

    domination comics http://adultcomics8jul.tripod.com/domination_comics.html domination comics domination comics

    violent comics http://adultcomics8jul.tripod.com/violent_comics.html violent comics violent comics

    brutal comics http://adultcomics8jul.tripod.com/brutal_comics.html brutal comics brutal comics