An administrator installs MySQL to run under a mysql OS account. The administrator decides to disable logins to the mysql account by using /nologin or /bin/false as the user’s shell setting.
Which statement is true?
A. The mysql user needs a login and its home directory must be the base directory of the installation.
B. The OS needs to allow logging in as mysql so that administrative tasks can be performed.
C. This prevents mysqld from starting when standard startup scripts are used.
D. This prevents creation of a command shell with the mysql account, while allowing mysqld to run.
Answer: D
这样可以防止使用mysql帐户创建命令外壳,同时允许mysqld运行。
版权声明:本文为博主原创文章,未经博主允许不得转载。
MYSQL
- 上一篇:Mysql OCP 77题
- 下一篇:Mysql OCP 79题