网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
下列那个命令行可列出/etc/passwd文件中含有root这个文本的行()
A

grep root /etc/group

B

echo root ∣grep /etc/group

C

echo /etc/group ∣grep root

D

A和C


参考答案

参考解析
解析: 暂无解析
更多 “单选题下列那个命令行可列出/etc/passwd文件中含有root这个文本的行()A grep root /etc/groupB echo root ∣grep /etc/groupC echo /etc/group ∣grep rootD A和C” 相关考题
考题 /etc/passwd文件此文件仅对root可写() A、错误B、正确

考题 /etc/default/passwd和/etc/passwd文件是不一样的()。

考题 linux系统中,显示文件/etc/passwd文件的5-8行,下面的命令正确的是()。A、head -8 /etc/passwdB、tail -8 /etc/passwdC、more -8 /etc/passwdD、less -8 /etc/passwd

考题 如果你是Linux系统管理员,Jack用户忘记了自己的口令,他希望你帮他将口令清空,为了达到这个目的你可以通过以下哪种方式来实现()。A、删除/etc/shadow文件中该用户帐户所对应的记录行B、编辑/etc/shadow文件,将该用户帐户所对应记录中的口令节内容删除C、删除/etc/passwd文件中该用户帐户所对应的记录行D、编辑/etc/passwd文件,将该用户帐户所对应记录中的口令节内容删除

考题 通过修改/etc/passwd文件,在该文件行首填字#号,可达到锁定用户目的

考题 以下哪个vi命令可以在当前位置插入/etc/passwd文本文件()。A、:r/etc/passwdB、:i/etc/passwdC、:w/etc/passwdD、:s/etc/passwd

考题 哪个文件中含有用户信息数据库()A、/etc/user.datB、/etc/passwd.datC、/etc/usersD、/etc/passwd

考题 如果忘记root口令可以采取下面哪种方法得到密码()。A、boot提示符下,采用单用户方式进入系统,并删除/etc/passwd文件B、boot提示符下,采用单用户方式进入系统,并使用passwd命令更改root用户密码C、进入rescue模式,删除/etc/shadow文件D、进入rescue模式,修改root用户权限,并改变passwd文件

考题 如果系统管理员忘记了root密码,可以使用什么方法来重新获得root密码()。A、使用sniffer工具进行暴力破解B、编辑/etc/passwd文件C、使用livecd重置root密码D、使用root组的其他用户重设root密码

考题 下列哪些命令可以更改用户HQ的密码()。A、用root登录,运行passwdHQB、用HQ登录,运行命令passwdC、用root登录,运行passwdD、进入文件/etc/passwd,直接手动修改密码

考题 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 fileB、Use the diag recovery tool option to reset root's passwordC、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

考题 下列那个命令行可列出/etc/passwd文件中含有root这个文本的行()A、grep root /etc/groupB、echo root ∣grep /etc/groupC、echo /etc/group ∣grep rootD、A和C

考题 如何将/etc/passwd这个文件的属主改变成root()。A、chgrp root/etc/passwdB、chown root/etc/passwdC、chown test/etc/passwdD、chgrp test/etc/passwd

考题 在/etc/passwd文件中,每一行用户记录包括哪些信息?彼此如何分开?

考题 下列哪个命令行可列出文件/usr/share/dict/words 中含有sun这个文本的所有行及其行号()A、grep–n sun /usr/share/dict/wordsB、grep–N /usr/share/dict/words sunC、grep–r sun /usr/share/dict/wordsD、grep–r /usr/share/dict/words sun

考题 下列哪一项可以列出文件/etc/services中含有文本ftp的行()A、echo ftp /etc/servicesB、echo ftp  /etc/servicesC、grep ftp -q /etc/servicesD、grep ftp  /etc/services

考题 下列哪一项可以列出文件/etc/nsswitch.conf中含有文本nisplus的行()A、grep nisplus /etc/nsswitch.confB、grep nisplus  /etc/nsswitch.confC、grep nisplus -q /etc/nsswitch.confD、只有A和B

考题 在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

考题 单选题以下哪个vi命令可以在当前位置插入/etc/passwd文本文件()。A :r/etc/passwdB :i/etc/passwdC :w/etc/passwdD :s/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/services中含有文本ftp的行()A echo ftp /etc/servicesB echo ftp  /etc/servicesC grep ftp -q /etc/servicesD grep ftp  /etc/services

考题 单选题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.

考题 单选题下列哪一项可以列出文件/etc/nsswitch.conf中含有文本nisplus的行()A grep nisplus /etc/nsswitch.confB grep nisplus  /etc/nsswitch.confC grep nisplus -q /etc/nsswitch.confD 只有A和B

考题 单选题哪个文件中含有用户信息数据库()A /etc/user.datB /etc/passwd.datC /etc/usersD /etc/passwd

考题 单选题下列哪个命令行可列出文件/usr/share/dict/words 中含有sun这个文本的所有行及其行号()A grep–n sun /usr/share/dict/wordsB grep–N /usr/share/dict/words sunC grep–r sun /usr/share/dict/wordsD grep–r /usr/share/dict/words sun