假设用户名为root,密码为root123,world为服务器中的数据库使用mysql在命令行下连接到MySQL的语句是()。
A.mysql-uroot-h127.0.0.1-pworld
B.mysql-uroot-h127.0.0.1-proot123world
C.mysqlrootroot123
D.mysql-uroot-pworld
A.mysql-uroot-h127.0.0.1-pworld
B.mysql-uroot-h127.0.0.1-proot123world
C.mysqlrootroot123
D.mysql-uroot-pworld
第2题
A.mysql -uroot -Ppassword -e "set passowrd for root=passowrd('passowrd') "
B.mysqladmin -uroot passowrd "NEWPASSWORD"
C.mysqladmin -uroot -ppassowrd "NEWPASSWORD"
D.mysql -uroot -ppassword -e"set passowrd forroot=passowrd(' passowrd') "
第4题
A./etc/gshadow文件只有root用户才能够读写
B./etc/group的第四个字段为空,就表示该用户组中没有用户存在
C./etc/gshadow的第五个字段表示用户密码的最长使用天数
D.定制一些关系结构比较复杂的权限模型时,设置用户组密码才有必要
第7题
A.alter user 'root'@'localhost' identified by ‘1111’;
B.alter user 'root'@'localhost' identified by 1111;
C.alter user 'root'@'localhost' =‘1111’;
D.set user 'root'@'localhost' =‘1111’;
第8题
A.roo账户的密码只能由root用户修改
B.普通用户的密码可以由roo账户修改
C.普通用户可以自己修改自己的密码
D.用户A可以修改用户B的密码
第9题
A./etc/host.equiv对root用户无效
B..rhosts在/etc/hosts.equiv之前应用
C..rhosts在/etc/hosts.equiv之后应用
D.使用BerkleyInternet服务需要提供密码
第11题
A.自动为用户创建家目录/home/user1
B.设置其登录shell为/bin/bash
C.自动创建名为user1的用户组
D.自动设置其默认密码