V$PWFILE_USERS列出了密码文件中被授予sysdba和sysoper权限的用户。如果查询没有记录,可能是没有密码文件,没有更多的密码文件当然sqlplussys/xxassysdba是不能用sysdba用户登录的。Let'sintroducethev$pwfile_userviewof11gand12c.一、v$pwfile_user表(11g)V$PWFILE_USERSlistsallusersinthepasswordfile,andindicateswhethertheuserhasbeengrantedtheSYSDBA,SYSOPER,andSYSASMprivileges.SELECT*FROMv$pwfile_usersORDERBYusername;二、v$pwfile_user表(12c)V$PWFILE_USERSlistsallusersinthepasswordfile,并指示用户是否已被授予SYSDBA、SYSOPER、SYSASM、SYSBACKUP、SYSDG和SYSKM权限。
