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

1. In your normal login account, dale, you type passwd jennie. What will be the

ID: 3874546 • Letter: 1

Question

1. In your normal login account, dale, you type passwd jennie. What will be the effect?

Select one:

a. You’ll see an error message.

b. You’ll be prompted to change your password.

c. You’ll be prompted to change Jennie's password.

d.You’ll see login information about jennie.

2. How can you set your system clock’s time from a remote NTP time server (time.example.com) if you know your local time is off by several hours? (Select all that apply.)

Select one or more:

a. Type ntpdate time.example.com.

b. Configure NTP locally and then call ntpd with its -g option.

c. Configure NTP locally and then launch ntpd directly, with no special options.

d. Type date time.example.com

3. Which of the following daemons handles traditional logging from servers and other user-mode programs?

Select one:

a. init

b. sysklogd

c. kyslogd

d. syslogd

4. What is a disadvantage of using pool.ntp.org as your NTP time source, vs. using a time source provided by your ISP?

Select one:

a.A randomly-selected NTP pool source is likely to be further from you than your ISP’s NTP server.

b.The NTP pool servers work only on a trial basis; you must pay $10 a year to use them in the long term.

c.The NTP pool servers don’t work properly with some recent versions of the Linux NTP software.

d. The NTP pool servers should only be used by large sites (say, those with 100 or more clients).

5. Where should you place files that you want to be added automatically to new users’ home directories when their accounts are created?

Select one:

a. /root/profile

b. /etc/inittab

c. /etc/profile

d. /etc/skel

6. You’ve installed anacron on a laptop computer and configured it to run the usual log rotation scripts at appropriate periods. How can you call anacron to ensure that these actions occur? (Select all that apply.)

Select one or more:

a.Call anacron as part of a user login script.

b.Call anacron recursively (via an anacron entry).

c. Call anacron via a conventional cron job.

d. Call anacron in a system startup script.

7. Which of the following types of information are you likely to see in log files? (Choose all that apply.)

Select one or more:

a. Information about a user launching a text editor to edit a file in the user’s directory

b.Successful uses of the su command to acquire root privileges

c. Failed attempts to log in to a server controlled through xinetd

d. Failed attempts by a user to read another user’s files via the cat command

8. Which of the following is not a task you might want cron to perform?

Select one:

a.Launch a GUI word processor

b. Remove long-unused files from /tmp

c. Rotate log files

d. Check for security breaches with Tripwire

Explanation / Answer

Answers

1. In your normal login account, dale, you type passwd jennie. What will be the effect?

Select one:

a. You’ll see an error message.

b. You’ll be prompted to change your password.

c. You’ll be prompted to change Jennie's password.

d.You’ll see login information about jennie.

1. (a)

2. How can you set your system clock’s time from a remote NTP time server (time.example.com) if you know your local time is off by several hours? (Select all that apply.)

Select one or more:

a. Type ntpdate time.example.com.

b. Configure NTP locally and then call ntpd with its -g option.

c. Configure NTP locally and then launch ntpd directly, with no special options.

d. Type date time.example.com

2. (a),(b)

3. Which of the following daemons handles traditional logging from servers and other user-mode programs?

Select one:

a. init

b. sysklogd

c. kyslogd

d. syslogd

3. (d)

4. What is a disadvantage of using pool.ntp.org as your NTP time source, vs. using a time source provided by your ISP?

Select one:

a.A randomly-selected NTP pool source is likely to be further from you than your ISP’s NTP server.

b.The NTP pool servers work only on a trial basis; you must pay $10 a year to use them in the long term.

c.The NTP pool servers don’t work properly with some recent versions of the Linux NTP software.

d. The NTP pool servers should only be used by large sites (say, those with 100 or more clients).

4. (a)

5. Where should you place files that you want to be added automatically to new users’ home directories when their accounts are created?

Select one:

a. /root/profile

b. /etc/inittab

c. /etc/profile

d. /etc/skel

5. (d)

6. You’ve installed anacron on a laptop computer and configured it to run the usual log rotation scripts at appropriate periods. How can you call anacron to ensure that these actions occur? (Select all that apply.)

Select one or more:

a.Call anacron as part of a user login script.

b.Call anacron recursively (via an anacron entry).

c. Call anacron via a conventional cron job.

d. Call anacron in a system startup script.

6. (a)

7. Which of the following types of information are you likely to see in log files? (Choose all that apply.)

Select one or more:

a. Information about a user launching a text editor to edit a file in the user’s directory

b.Successful uses of the su command to acquire root privileges

c. Failed attempts to log in to a server controlled through xinetd

d. Failed attempts by a user to read another user’s files via the cat command

7. (b),(c)

8. Which of the following is not a task you might want cron to perform?

Select one:

a.Launch a GUI word processor

b. Remove long-unused files from /tmp

c. Rotate log files

d. Check for security breaches with Tripwire

8. (a)