REG:SYSDBA不记录,系统用户和其他连接的用户
SYSDBA不记录其他用户在下面登录,如何
修复它,能够成功登录其他用户,请在下面找到,只有SYSDBA不起作用
[oracle@dztupbin]$ ./sqlplus SYSTEM/"oracle"
SQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 28 11:05:09 2022
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Last Successful login time: Thu Apr 28 2022 11:05:00 +01:00
Connected to:
Oracle Database 12c Standard Edition Release 12.2.0.1.0 - 64bit Production
[oracle@dztup bin]$ ./sqlplus SYSTEM/"oracle" as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 28 11:05:18 2022
Copyright (c) 1982, 2016, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:
sqlplus / as sysdba也给出了相同的结果: -
./ sqlplus / as sysdba
ERROR:
ORA-01017: invalid username/password; logon denied
[oracle@dztup bin]$ ./sqlplus / as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 28 11:05:18 2022
Copyright (c) 1982, 2016, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:
i sysdba i i Connection i Connecti现在,SYS用户: -
[oracle@dztup bin]$ ./sqlplus system/"oracle"
SQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 28 13:25:51 2022
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Last Successful login time: Thu Apr 28 2022 13:25:15 +01:00
Connected to:
Oracle Database 12c Standard Edition Release 12.2.0.1.0 - 64bit Production
SQL> conn sys as sysdba
Enter password:
Connected.
SQL>
SQL>
SQL>
SQL> show user
USER is "SYS"
授予Sysdba Privilige现在可以连接到系统用户:
但仍然是SQLPLUS / AS SYSDBA无法正常工作。 [oracle@dztup bin] $ ./ sqlplus / as sysdba
sql*plus:版本12.2.0.1.0在thu上生产于4月28日11:05:18 2022
版权所有(C)1982,20182,2016,Oracle。版权所有。
错误: ORA-01017:无效的用户名/密码;登录被拒绝
Sysdba not logging other users are logging below, how to
fix it, able to login to other users successfully, please find below, only with sysdba not working
[oracle@dztupbin]$ ./sqlplus SYSTEM/"oracle"
SQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 28 11:05:09 2022
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Last Successful login time: Thu Apr 28 2022 11:05:00 +01:00
Connected to:
Oracle Database 12c Standard Edition Release 12.2.0.1.0 - 64bit Production
[oracle@dztup bin]$ ./sqlplus SYSTEM/"oracle" as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 28 11:05:18 2022
Copyright (c) 1982, 2016, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:
sqlplus / as sysdba also giving same result:-
./sqlplus / as sysdba
ERROR:
ORA-01017: invalid username/password; logon denied
[oracle@dztup bin]$ ./sqlplus / as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 28 11:05:18 2022
Copyright (c) 1982, 2016, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
Enter user-name:
I connected to sys user now:-
[oracle@dztup bin]$ ./sqlplus system/"oracle"
SQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 28 13:25:51 2022
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Last Successful login time: Thu Apr 28 2022 13:25:15 +01:00
Connected to:
Oracle Database 12c Standard Edition Release 12.2.0.1.0 - 64bit Production
SQL> conn sys as sysdba
Enter password:
Connected.
SQL>
SQL>
SQL>
SQL> show user
USER is "SYS"
granted sysdba privilige to system user now able to connect:
but still sqlplus / as sysdba not working.
[oracle@dztup bin]$ ./sqlplus / as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Thu Apr 28 11:05:18 2022
Copyright (c) 1982, 2016, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
sysdba
是特权,而不是用户。System
帐户默认情况下没有sysdba
特权。唯一具有默认sysdba
特权的帐户是sys
,通常由操作系统在本地进行身份验证。例如:如果您已授予
sysdba
特权给其他用户,则使用sysdba
角色登录时,这些用户会针对单独的密码文件进行身份验证,而不是普通密码哈希。当更改用户的普通密码时,密码文件不会自动更新(如Alter用户X,通过Pass
识别)。要更新密码文件中的密码,您必须重新授予sysdba
特权给用户;否则使用旧密码。SYSDBA
is a privilege, not a user. TheSYSTEM
account does not haveSYSDBA
privileges, by default. The only account with defaultSYSDBA
privileges isSYS
, which is usually authenticated locally by the operating system. e.g.:If you have granted
SYSDBA
privileges to other users, then those users are authenticated against a separate password file when logging in with theSYSDBA
role, and not the normal password hash. The password file is not updated automatically when the users' normal password is changed (as withALTER USER x IDENTIFIED BY pass
). To update the password in the password file you must re-grantSYSDBA
privileges to the user; otherwise use the old password.