</p> If you had a Linux system routing 3 different Networks through 3 NICs and you were having trouble with your IP-Forwarding. Where would you look to ensure that IP-Forwarding is actually enabled?3 C ]" W; E3 p4 I9 [- o& E
cat /proc/sys/net/ipv4/ip_forward
2 [0 Y" I( P4 l& ~6 O& @5 i6 ?1 X netstat
$ F* K) H) q8 Q cat /proc/net/tcp
; \# q% p, q$ e3 E iptraf -d eth0
- N6 z, t8 {4 n8 P tail -f /var/log/messages0 T% k! A0 F. T. [+ X
OBJECTIVE: 1.13.1 TYPE: mc
" p! M$ R7 |9 n) c% L; W What file is used for associating port numbers to port names.
3 W* ]4 c1 h' U) y; `& q* m0 F /etc/services4 v6 r9 n& O. k
/etc/hosts
4 u4 J9 i( }' R /etc/inetd.conf& U9 F( C% p. z. u; w9 _' T. H, ^- l
/etc/securetty
/ [* o+ w( z' P( a2 r /etc/ports2 b- t o: T, r4 `
OBJECTIVE: 1.13.4 TYPE: mc
% Q. R/ P! G4 v' T You want to make the directory /local available via NFS. All users on your local network should be allowed to read and write files. Which of the following is correct, assuming that your local network is 192.168.1.0, and your machine is part of the DNS domain foobar.com?: S* ?9 B4 F: l: b1 n6 G! F, V
/local 192.168.1.0/255.255.255.0(rw)
" K& S9 u1 F2 _, f0 K' u /local *.com(rw)
* Y& p7 L5 K% N5 @5 U" S# I9 G* M 192.168.1.0 /local
% q8 H3 J8 Z; V2 b4 \ /local 192.168.1.0(rw)' j8 F; U9 M2 B Y
OBJECTIVE: 1.14.1 TYPE: fitb, e. G3 i/ w' W( F. o0 \6 s
Which file can you create to prevent non-root users from logging into the system? (specify path and filename)
2 R: `. w" L+ F4 ?* G& X2 V /etc/nologin: O# P6 U% q4 c9 Q4 o" y1 J
OBJECTIVE: 1.14.2 TYPE: fitb
( v8 o$ m; j$ Y; K# @$ ?# b What command can be used to display a formatted output of the wtmp file? (no arguments)
4 ^% P7 y- z K# v0 P last
- l: Z7 w% L$ t OBJECTIVE: 1.14.3 TYPE: fitb
9 U. X( ^/ _4 v m) g* j# v# X Which command can be executed by a user who is already logged into the system, in order to change to the root user? (type the command without any parameters)2 z R* b0 K$ W
su9 M Y; r) Z# }5 |9 l2 v% ?/ N
OBJECTIVE: 1.7.2 TYPE: mc |