41. what file on a system contains a list of hosts that can't connect to the machine's services? a. /etc/hosts/denial b. /etc/hosts.deny c. /etc/host.notallow d. /etc/inetd.conf e. /etc/hosts.not
42. which of the following services would you be least likely to configure to be governed over by the internet super server? a. ftp b. telnet c. ssh d. finger e. bind
43. on a system using shadowed passwords, the correct permissions for /etc/passwd are ____- and the correct permission for /etc/shadow are _______. a. -rw-r-----, -r-------- b. -rw-r--r--, -r--r--r-- c. -rw-r--r--, -r-------- d. -rw-r--rw-, -r-----r-- e. -rw--------, -r-------
44. which of the following files has the correct permissions? a. -rw--w--w- 1 root root 369 dec 22 22:38 /etc/shadow b. -rwxrw-rw- 1 root root 369 dec 22 22:38 /etc/shadow c. -rw-r--r-- 1 root root 369 dec 22 22:38 /etc/shadow d. –r-------- 1 root root 369 dec 22 22:38 /ect/shadow
45. you have a user whose account you want to disable but not remove. what should you do? a. edit /etc/gshadow and just remove his name. b. edit /etc/passwd and change all numbers to 0. c. edit /etc/shadow file and remove the last field. d. edit /etc/passwd and insert an * after the first :. e. edit /etc/group file and put a # sign in front of his name.