<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Decode360's Blog

    業精于勤而荒于嬉 QQ:150355677 MSN:decode360@hotmail.com

      BlogJava :: 首頁 :: 新隨筆 :: 聯系 ::  :: 管理 ::
      397 隨筆 :: 33 文章 :: 29 評論 :: 0 Trackbacks
    Oracle用戶鎖定等操作
    ?
    ??? 今天需要對用戶進行鎖定操作,發現居然不知道操作的命令格式,找來找去也沒找到,還是上網查一下。其實只是一個簡單的操作,就是修改密碼、用戶鎖定、密碼過期這3個操作,為了避免忘記,特地在這里記一下。最后還附有Oracle默認安裝后的用戶及意義,也了解一下。
    --------------------------------
    ?
    Change Oracle passwords, expire, and lock unnecessary users
    ?
    http://www.dba-oracle.com/t_passwords_locking_changing_expiring.htm
    ?

    There are many users on a full installation of Oracle, most of which you probably won't need. To lock an Oracle user account, you can use the following command:
    ?
    alter user username account lock;

    To unlock the user, simply replace 'lock' with 'unlock'.
    ?
    Oracle comes with a few default accounts that should never be locked or dropped. These include: SYS, SYSTEM, SYSMAN (Oracle 10g), OUTLN(can't?). However, you do want always to change the password for these users. The default password for SYS is change_on_install. It is important that you follow these directions. To change the password for a user:
    ?
    alter user username identified by new_password;

    For non-critical users, you can always lock and expire the account. We can change the password for, lock, and expire the account CTXSYS all at once:
    ?
    alter user ctxsys identified by 0bscur3 account lock password expire;

    This will ensure that CTXSYS password has been changed from the self evident default of CTXSYS; on a successful login the password will have to be changed (because it is expired); and because it is locked, he account can't be logged into under any circumstances.
    ?
    To aid you in this task, here is a list of users that come with a full database installation that are safe to expire and lock if you are not using their functionality:
    ?
    AURORA$ORB$UNAUTHENTICATED - Jserver user
    BI - demo user
    CTXSYS - Oracle Text/interMedia administrator
    DBSNMP - Oracle Intelligent Agent
    DSSYS - Dynamic Services and Syndication Server
    HR - demo user
    MDSYS - Spatial administrator
    ORDSYS/ORDPLUGIN - Object Relational Data user
    OE - demo user
    PERFSTAT - Statspack administrative user
    SCOTT - demo user
    SH - demo user
    TRACESVR - Oracle trace server
    WKSYS - Ultrasearch administrator

    The best rule of thumb is to install only the features you need when you install Oracle. If you are not going to use Spatial, interMedia, or UltraSearch, don't install them. Then you will not have to worry about those three users.
    ?
    ?
    posted on 2009-05-30 23:02 decode360 閱讀(1695) 評論(0)  編輯  收藏 所屬分類: 07.Oracle
    主站蜘蛛池模板: 亚洲国产高清国产拍精品| 亚洲无码在线播放| 亚洲av日韩av综合| 亚洲高清中文字幕免费| 7777久久亚洲中文字幕蜜桃| 日韩精品内射视频免费观看| 久久久久久亚洲Av无码精品专口| 蜜臀亚洲AV无码精品国产午夜.| 免费看国产成年无码AV片| 亚洲国产综合人成综合网站00| 美女内射无套日韩免费播放| 2022年亚洲午夜一区二区福利 | 久久久久久久亚洲精品| 特黄aa级毛片免费视频播放| 亚洲av无码天堂一区二区三区| 亚洲伊人久久大香线蕉AV| 国产精品国产午夜免费福利看| 亚洲乱亚洲乱妇24p| 日韩免费a级在线观看| 日韩在线观看免费| 亚洲午夜福利在线观看| 2019中文字幕在线电影免费| 国产精品亚洲综合五月天| 国产最新凸凹视频免费| 精品97国产免费人成视频| 久久亚洲春色中文字幕久久久| 久久国产精品2020免费m3u8| 亚洲熟妇无码久久精品| 国产精品二区三区免费播放心| 粉色视频免费入口| 亚洲精品乱码久久久久久按摩| 日韩成人免费视频| 亚洲日日做天天做日日谢| 亚洲国产黄在线观看| 久久免费线看线看| 亚洲伊人久久大香线蕉在观| 亚洲国产主播精品极品网红| 国产精品免费观看调教网| 亚洲精品女同中文字幕| 亚洲Av永久无码精品三区在线| 久久久久久久免费视频|