chgrp root/etc/passwd
chown root/etc/passwd
chown test/etc/passwd
chgrp test/etc/passwd
单选题在Solaris8下,对于/etc/shadow文件中的一行内容如下:root:3vd4NTwk5UnLC://0:1:Super-User:/:”,以下说法正确的是:()。A 是/etc/passwd文件格式B 是/etc/shadow文件格式C 既不是/etc/passwd也不是/etc/shadow文件格式D 这个root用户没有SHELL,不可登录E 这个用户不可登录,并不是因为没有SHELL
点击查看答案
单选题如果忘记root口令可以采取下面哪种方法得到密码()。A boot提示符下,采用单用户方式进入系统,并删除/etc/passwd文件B boot提示符下,采用单用户方式进入系统,并使用passwd命令更改root用户密码C 进入rescue模式,删除/etc/shadow文件D 进入rescue模式,修改root用户权限,并改变passwd文件
多选题下列哪些命令可以更改用户HQ的密码()。A用root登录,运行passwdHQB用HQ登录,运行命令passwdC用root登录,运行passwdD进入文件/etc/passwd,直接手动修改密码
单选题下列那个命令行可列出/etc/passwd文件中含有root这个文本的行()A grep root /etc/groupB echo root ∣grep /etc/groupC echo /etc/group ∣grep rootD A和C
单选题A system is being booted into maintenance mode due to root password recovery. After accessing the root volume group and starting a shell without mounting the file systems, what is the next step?()A Delete root’s password from the /etc/security/passwd file.B Use the diag recovery tool option to reset root’s password.C Execute the ’passwd’ command and assign a new passwd to root UIdD Mount the / and /usr filesystems on alternative mount points to edit the password file.
单选题哪个文件中含有用户信息数据库()A /etc/user.datB /etc/passwd.datC /etc/usersD /etc/passwd
单选题UNIX操作系统的帐号管理和权限分配主要是通过哪三个文件管理来实现()。A /etc/passwd,/etc/profile和/etc/groupB /etc/group,/etc/profile和/etc/shadowC /etc/group,/etc/shadow和/etc/passwd