26. You have just added a new NFS share to the appropriate file. What must you do to activate the share?
3 U- x. _! e+ d+ W4 uA. reboot . v0 d5 j6 k8 n5 @
B. exportfs -a ; P& P# r3 m0 D
C. ndc restart : c1 w: T% k9 y0 B2 l" |( @
D. server nfs start 4 u: E' B9 x8 t, R& ^5 H* Z
E. mount -A
& s& @1 R5 I+ o, C- IYou answered this question incorrectly
! a; U; A! `6 |5 Z5 W: |Explanation: To share a directory via NFS you must edit the /etc/exports file and then run exportfs -a.
9 l8 N$ {; u$ ]4 T0 ]/ Q5 V% ^' s3 X, j4 U% h, b0 ~- ^
27. How can you turn off interface eth1?
q3 j. O8 M7 \2 K1 dA. service network stop 3 k' z7 v' S4 b
B. service netork stop eth1
, u, m0 j9 f' _0 q9 eC. ifstop eth1
0 O3 P* @9 u* Q7 |* B8 gD. ifdown eth1
7 ]! U! H z' D0 `; [E. ps -aux |grep eth1| kill `awk -f {$1}`
7 k0 \1 C; m3 UYou answered this question incorrectly
' h7 |, C, o/ N/ M) S. [/ KExplanation: The ifdown eth1 command will turn off the eth1 interface. the service network stop command will stop all networking which is not what you want. The ifstop command does not exist. The last command is just nonsense. 5 c; f0 ~ V& T3 b" b# ?
r% c" T- c1 M2 |28. What file do you edit to set the default runlevel?
# j$ L5 M: H0 P. _: vA. /etc/grub.conf
5 J! y! W/ Z7 L; {8 M0 M; gB. /etc/lilo.conf
+ g: }4 A. S$ _% s3 tC. either A or B + Q5 s" ~4 `7 X/ F" c7 q9 B
D. /etc/inittab
0 F! C+ a, c- o, ]7 d* G0 nE. /etc/runlevel
% V) I' O3 O) w! x+ f4 M6 iYou answered this question incorrectly
: l9 n2 c- ^. Y$ aExplanation: /etc/inittab is the standard place to do this and is the best answer. : v F$ \! e& l/ C
7 J9 w$ T! O6 }3 x/ T# a# c29. Which options to chmod allow read access to all but only allow write and execute access to the owner?
8 h/ ~& c) |" k+ V8 ZA. chmod 777 filename 4 D9 c! u' r' t1 A6 j( s; V( G
B. chmod 700 filename 9 g+ ^3 J" T( w: r: f
C. chmod 744 filename 6 M0 e1 h3 [4 G% s5 D( ^: u+ c
D. chmod 447 filename / u4 a( {, d) p9 Y# y
E. chmod 775 filename
7 x/ l/ n4 ]9 [You answered this question incorrectly " w' d- S8 i% C7 R/ Z% ]
Explanation: A is wrong becauseit allows read write and execute to everyone. B is wrong because it does not allow read access to everyone. C is correct. D is wrong because it allows write acess to everyone. E is wrong because it allows write access to the group. / K" N3 s' @6 L5 D1 S
1 s3 U6 |% j2 w: C+ O30. What file contains the list of terminals that root is allowed to log into? % ?4 X6 d; M3 S9 p: t5 P
A. /etc/rooterm.conf
" x, L. F( _) U) V* ?" [ O- Q+ h/ bB. /etc/terminals , O, ^' X+ L! Z) d( ~* ?
C. /etc/secure 9 C( _# k# l3 v) B$ d7 I9 t h& X
D. /etc/tty.conf
% x, s# g$ c0 Q# t1 }' B- lE. /etc/securetty 5 ^0 r3 _1 b, z, b' m
You answered this question incorrectly # z# r& A$ y3 ~- l# q+ B
Explanation: The /etc/securetty file contains a list of all terminals that root is allowed to log into. |