Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. Which file system should never be backed up, and therefore never have to be r

ID: 3901876 • Letter: 1

Question

1. Which file system should never be backed up, and therefore never have to be restored?

Ufs

Usr

Tmp

Swap

2. To check the swap info

$swaps

$swap

$cat /proc/swaps

$swapinfo

3. What command will set a regular users password to force changing it every 30 days? ( Hint: this Q has more than one choice)

$ passwd –x 30 username

$chage –M 30 username

$passwd +x 30 username

$chage +M 30 username

4. Which of the following commands will flush all print jobs on all configured queues of the system?

$lprm –

$lprm –all

$lprm –a*

$lpflush –all

5. Which of the following are NOT valid commands to affect your system’s printing?

lpq

lprm

lpstatus

lpr

6. Which daemon or service can be configured as a non-root user?

$cron

$ntp

$lpr

$nmbd

7. Which of the following IP address ranges are not considered private, according to RFC 1918?

10.0.0.0 – 10. 255.255.255

192. 168. 0.0 - 192.168. 255.255

172.16.0.0 - 172.31.255.255

191.168.16.0 -192.168.31.255

8. Which of the following commands will print the file putty on the printer hplaserj?

$lpr –p hplaserj –F putty

$lpr –p phlaserj putty

$lpc printer=hplaserj file=putty

$lpr –p hplaserj putty

9. What files affect the functioning of TCP Wrappers?

/etc/nsswitch.conf

/etc/hosts.deny

/etc/security/authconfig

/etc/default/clients

10. What is the binary conversion of the IP address 192.168.1.10

11000000.10101000.00000001.00001010

01101010.11000100.10101000.00000000

00000001.00001010.11000000.10101000

10101000.00000001.00001010.11000000

Explanation / Answer

Q1

The answer is swap

Q2

cat /proc/swaps is the correct answer

Q3

The correct options are 1 and 2

Q4

lprm -a all is the correct answer

Q5

lpstatus is not a valid command

Q6

cron can be configured as a non-root user

Q7

Option a,b,c are private IP and only option D is not private hence it is the correct answer

Q8

lpr –p hplaserj –F putty will print the file

Q9

/etc/hosts.deny affects the functioning

Q10

Option A is the correct answer

Do give a thumbs up