35.You executed the command to create a password file in the database server:

来源:互联网 发布:淘宝店铺4钻能卖多少 编辑:程序博客网 时间:2024/04/29 18:00
35.You executed the command to create a password file in the database server:
$ orapwd file=orapworcl entries=5 ignorecase=N
Which statement describes the purpose of the above password file?
A.It records usernames and passwords of users when granted the DBA role.
B.It contains usernames and passwords of users for whom auditing is enabled.
C.It is used by Oracle to authenticate users for remote database administration.
D.It records usernames and passwords of all users when they are added to OSDBA or OSOPER operating system groups.
答案:C
解析:这里是选择C
这个命令是创建密码文件的
--首先我们删除密码文件
[oracle@wahaha3 dbs]$ ls | grep orapw$ORACLE_SID
orapwwahaha3
[oracle@wahaha3 dbs]$ rm orapwwahaha3
[oracle@wahaha3 dbs]$ ls | grep orapw$ORACLE_SID
[oracle@wahaha3 dbs]$ 
SQL> select * from v$pwfile_users;
no rows selected
[oracle@wahaha3 dbs]$ sqlplus sys/oracle@wahaha3 as sysdba
ERROR:
ORA-01031: insufficient privileges
[oracle@wahaha3 dbs]$ orapwd file=/u01/oracle/11g/dbs/orapwwahaha3 password=oracle
[oracle@wahaha3 dbs]$ ls | grep orapw$ORACLE_SID
orapwwahaha3
[oracle@wahaha3 dbs]$ sqlplus sys/oracle@wahaha3 as sysdba
SQL> 
0 0
原创粉丝点击