117-102 無料問題集「Lpi General Linux, Part 2」
CORRECT TEXT
Machines with IPs `on the 131.230.55 and 131.230.56 networks need to be allowed to connect to a service protected with TCP wrappers. How would the network and netmask pair be expressed in /etc/hosts.allow?
Machines with IPs `on the 131.230.55 and 131.230.56 networks need to be allowed to connect to a service protected with TCP wrappers. How would the network and netmask pair be expressed in /etc/hosts.allow?
正解:
131.230.55.0/255.255.254.0
You've been reviewing your security checklist and one of the items calls for reviewing the
/etc/passwd file. You cat the file and notice that, while most users have an x in the second column, a few have a 14 character string in the second column. What action, if any, should you take?
/etc/passwd file. You cat the file and notice that, while most users have an x in the second column, a few have a 14 character string in the second column. What action, if any, should you take?
正解:B
解答を投票する
CORRECT TEXT
The _____ command will list the currently loaded kernel modules.
The _____ command will list the currently loaded kernel modules.
正解:
lsmod
lsmod command displays all modules loaded by kernel as well as modules status on current session.
See the sample output of lsmod command Module Size Used by i915 81349 2 md5 4033 1 ipv6 232705 10 parport_pc 24705 1 lp 12077 0 parport 37129 2 parport_pc,lp autofs4 23237 0 sunrpc 157093 1 dm_mod 54741 2 button 6481 0 battery 8901 0 ac 4805 0 raid1 19905 1 uhci_hcd 31065 0 ehci_hcd 30917 0 snd_intel8x0 33769 0 snd_ac97_codec 63889 1 snd_intel8x0 snd_pcm_oss 49017 0 snd_mixer_oss 17985 1 snd_pcm_oss snd_pcm 96841 2 snd_intel8x0,snd_pcm_oss snd_timer 29893 1 snd_pcm snd_page_alloc 9673 2 snd_intel8x0,snd_pcm snd_mpu401_uart 8769 1 snd_intel8x0 snd_rawmidi 26597 1 snd_mpu401_uart snd_seq_device 8137 1 snd_rawmidi snd 54949 9 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_u art,snd_rawmidi,s soundcore 9889 1 snd 8139too 25921 0 mii 4673 1 8139too floppy 58481 0 ext3 116809 6 jbd 71257 1 ext3
lsmod command displays all modules loaded by kernel as well as modules status on current session.
See the sample output of lsmod command Module Size Used by i915 81349 2 md5 4033 1 ipv6 232705 10 parport_pc 24705 1 lp 12077 0 parport 37129 2 parport_pc,lp autofs4 23237 0 sunrpc 157093 1 dm_mod 54741 2 button 6481 0 battery 8901 0 ac 4805 0 raid1 19905 1 uhci_hcd 31065 0 ehci_hcd 30917 0 snd_intel8x0 33769 0 snd_ac97_codec 63889 1 snd_intel8x0 snd_pcm_oss 49017 0 snd_mixer_oss 17985 1 snd_pcm_oss snd_pcm 96841 2 snd_intel8x0,snd_pcm_oss snd_timer 29893 1 snd_pcm snd_page_alloc 9673 2 snd_intel8x0,snd_pcm snd_mpu401_uart 8769 1 snd_intel8x0 snd_rawmidi 26597 1 snd_mpu401_uart snd_seq_device 8137 1 snd_rawmidi snd 54949 9 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_u art,snd_rawmidi,s soundcore 9889 1 snd 8139too 25921 0 mii 4673 1 8139too floppy 58481 0 ext3 116809 6 jbd 71257 1 ext3
CORRECT TEXT
If you need to view per-user disk space usage on a filesystem, the ______ command can provide that information if the kernel is built to support it.
If you need to view per-user disk space usage on a filesystem, the ______ command can provide that information if the kernel is built to support it.
正解:
du
du - estimate file space usage example: du -h file/directory.
du - estimate file space usage example: du -h file/directory.