<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无码网站| 亚洲国产一区在线观看| 免费无遮挡无码永久视频| 亚洲视频在线观看| 亚洲黄色免费网站| 亚洲一卡二卡三卡四卡无卡麻豆| 午夜国产精品免费观看| 国产精品亚洲专区在线观看| 黄页网站免费在线观看| 亚洲最大天堂无码精品区| 午夜成年女人毛片免费观看 | 亚洲免费人成在线视频观看| 在线观看人成视频免费无遮挡| 亚洲国产另类久久久精品黑人| 成人免费乱码大片A毛片| 亚洲av午夜福利精品一区| 2021在线观看视频精品免费| 亚洲免费观看网站| 成人毛片免费观看| 瑟瑟网站免费网站入口| 亚洲精品无码久久久久| 精品福利一区二区三区免费视频| 亚洲天堂福利视频| 国产zzjjzzjj视频全免费 | 一本岛高清v不卡免费一三区| 中国亚洲呦女专区| 亚洲成a人片在线观看久| a级片免费在线观看| 亚洲国产情侣一区二区三区| 日韩a级毛片免费视频| 一级毛片不卡免费看老司机| 91久久亚洲国产成人精品性色| 最近中文字幕无吗高清免费视频| 最好2018中文免费视频| 亚洲AV色香蕉一区二区| 日韩免费视频播播| 免费毛片在线看不用播放器| 亚洲一区二区三区国产精华液| 中文字幕亚洲一区二区三区| 亚洲精品免费网站|