您的位置:首页 > 其它

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

2016-07-19 14:31 513 查看
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> 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  1z0-052
相关文章推荐