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

题目内容 (请给出正确答案)

找出/etc/passwd文件里带“root”的行,使用哪一条命令?()

A.find   root   /etc/passwd

B.grep   "root"   /etc/passwd

C.locate   root  /etc/passwd

D.locate /etc/passwd root


参考答案和解析
grep "root" /etc/passwd
更多 “找出/etc/passwd文件里带“root”的行,使用哪一条命令?()A.find   root   /etc/passwdB.grep   "root"   /etc/passwdC.locate   root  /etc/passwdD.locate /etc/passwd root” 相关考题
考题 /etc/passwd文件此文件仅对root可写() A、错误B、正确

考题 命令man5passwd含义是()。A.显示passwd命令的使用方法B.显示passwd文件的结构C.显示passwd命令的说明的前五行D.显示关于passwd的前五处说明文档

考题 计算当前Linux系统中所有用户的数量,可以使用什么命令()A、wc-l/etc/passwdB、wc-lC、cat/etc/passwd|wc-lD、cat/etc/passwd>wc-l

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

考题 通过修改/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

考题 保障UNIX/Linux系统帐号安全最为关键的措施是()A、文件/etc/passwd和/etc/group必须有写保护B、删除〈etc/passwd、/etc/gmpC、设置足够强度的帐号密码D、使用shadow密码

考题 下列那个命令行可列出/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

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

考题 命令man 5 passwd含义是?()A、显示passwd命令的使用方法B、显示passwd文件的结构C、显示passwd命令的说明的前五行D、显示关于passwd的前五处说明文档。

考题 保障UNIX/Linux系统帐号安全最为关键的措施是()。A、文件/etc/passwd和/etc/group必须有写保护B、删除/etc/passwD./etc/groupC、设置足够强度的帐号密码D、使用shadow密码

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

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

考题 单选题在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,直接手动修改密码

考题 单选题保障UNIX/Linux系统帐号安全最为关键的措施是()。A 文件/etc/passwd和/etc/group必须有写保护B 删除/etc/passwd、/etc/groupC 设置足够强度的帐号密码D 使用shadow密码

考题 单选题下列那个命令行可列出/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

考题 单选题命令man 5 passwd含义是?()A 显示passwd命令的使用方法B 显示passwd文件的结构C 显示passwd命令的说明的前五行D 显示关于passwd的前五处说明文档。