ITPub博客

首页 > 数据库 > Oracle > Reset user password in 11g

Reset user password in 11g

原创 Oracle 作者:foreverlee 时间:2012-10-05 09:25:16 0 删除 编辑
Reset user's password in 11g[@more@]SQL> create user lyon identified by test; User created. SQL> select USERNAME,PASSWORD,ACCOUNT_STATUS ,PROFILE from dba_users where USERNAME='LYON'; USERNAME PASSWORD ------------------------------ ------------------------------ ACCOUNT_STATUS PROFILE -------------------------------- ------------------------------ LYON OPEN DEFAULT SQL> select password,spare4 from user$ where name='AMIT'; no rows selected SQL> select password,spare4 from user$ where name='LYON'; PASSWORD ------------------------------ SPARE4 -------------------------------------------------------------------------------- AAFEADB72956964C S:0655231D9764614EFEC6B1CB011FBDD4B77E8885556884BB5B8307123B20 SQL> grant connect to lyon; Grant succeeded. SQL> conn lyon/test Connected. SQL> conn / as sysdba Connected. SQL> alter user lyon identified by oracle; User altered. SQL> select password,spare4 from user$ where name='LYON'; PASSWORD ------------------------------ SPARE4 -------------------------------------------------------------------------------- 89CB7DBC006297BA S:F32CAC4E420CAE5F07A1FEE76ED686682E9C2D70131C36E6A690DC3C0A21 SQL> conn lyon/test ERROR: ORA-01017: invalid username/password; logon denied Warning: You are no long

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/76065/viewspace-1059535/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-11-26

  • 博文量
    72
  • 访问量
    1356452