36. What file do I edit to prevent specific users from accessing an ftp server?
. J5 K: t8 C) @2 _0 d2 }A. /etc/hosts.allow ; C" y: Q( L2 _% J- c8 |8 R
B. /etc/hosts.deny
% W5 b/ p% u- @" eC. /etc/ftpacess 8 T2 r( ?0 u; h- ]9 d7 `- u! V P
D. /etc/ftpusers : _# Q! r5 }# M. g0 \
E. /etc/ftpd.conf
8 @8 S, b9 P4 |; x% U4 [You answered this question incorrectly
% m8 @ Z" n; u/ t& VExplanation: The /etc/ftpusers file lists users not allowed to FTP. : i: D9 R) W: D
2 }$ w) b& M7 l; {/ }37. What file contains the configuration for the Network Time Protocol server? 5 U+ C! ]% B9 P1 _0 ^
A. /etc/ntp.conf
2 j, Q+ U. @& AB. /etc/xntp.conf
e/ E! Q! H4 V0 PC. /etc/NTP ' V0 r6 D! c( g, c& Z3 Z8 [" O
D. /etc/time.conf ( u, H7 R8 r9 r% |1 h7 f `
E. /etc/timeserver.conf
2 P' i8 ]+ L9 x2 IYou answered this question incorrectly 0 \' c4 K8 e3 Q+ P& v9 B: X4 ^
Explanation: The XNTP server is configured in /etc/ntp.conf.
4 F. Z2 k# {+ F5 N% c7 j! M9 r
* W3 a; X( G4 T- m1 _ U" d38. You have just added a new NFS share to the appropriate file. What must you do to activate the share? $ n5 \$ Y+ M% p: G9 A: f& N7 ~
A. reboot
/ Y% L4 m) `$ X( b u$ }4 C6 SB. exportfs -a 8 v0 u, n: F {3 J0 L
C. ndc restart t! U- c( b' m4 i
D. server nfs start `( h% @ b, [; u) \$ w$ U* O
E. mount -A
: Q# h; v# @9 y3 jYou answered this question incorrectly * T* {9 D- x( q0 V9 u
Explanation: To share a directory via NFS you must edit the /etc/exports file and then run exportfs -a. 0 T1 A* V+ x; [8 }8 H
+ L6 B& X% E6 G6 ^: Q
39. What does the -H option do for the dhcpcd program? & S6 l, m5 G8 H5 g5 T9 H
A. Sets the hostname of the machine to the name provided by DHCP. * b3 I7 {8 Y) @& ~5 Q5 t
B. Kills any previous version of the dhcpcd program that may be running. 9 ~/ Y" b/ I- L" \3 v
C. Passes the machine name to DHCP as part of the DHCP request. 7 }3 F, c6 s$ }4 W- g: w: s
D. Only tries to get a new ip address if the current one is older than a certain number of hours. ) t1 L/ c$ {5 F$ b
E. None of the above 6 }4 n- G" _2 f! R# f
You answered this question incorrectly
8 e+ E+ G& N9 B# h7 p, z% d0 [Explanation: The -H option forces dhcpcd to set the hostname of the host to the hostname option supplied by the DHCP server. $ }9 X9 l: v8 j+ F+ P! a) _ q' I
& H$ n2 P V3 Z
40. What does the -N option do for the dhcpcd program?
( t m9 Y1 Q4 M, W. ~A. Sets the hostname of the machine to the name provided by DHCP. , B- a$ o6 x+ C
B. If the dhcpcd server is already running then it sends it an ALRM signal to get it to renew its lease.
1 h1 q2 t$ Q3 A! T) _C. Passes the machine name to DHCP as part of the DHCP request. " {3 R( w' @4 @$ B5 E- ~- H
D. Only tries to get a new ip address if the current one is older than a certain number of hours. 4 k) q; p- q4 R/ {
E. None of the above & B t @3 c+ D/ w4 F9 W
You answered this question incorrectly $ w* K8 L. o2 H% c: p2 E' ^: x
Explanation: The -N option will an ALRM signal to dhcpcd,if it is already running, to cause it to attempt to renew it’s lease. |