nerdexam
SUN

310-202 · Question #182

As part of an early warning system, a system administrator disables the remote shell service and replaces it with a script. This script logs that it was called with the auth facility and the warning…

The correct answer is C. logger -i -p auth.warning -t rsh "attempted from $ruser@$host to $user". See the full explanation below for the reasoning.

Question

As part of an early warning system, a system administrator disables the remote shell service and replaces it with a script. This script logs that it was called with the auth facility and the warning level. The script also logs the process ID of the invoking shell. What is the proper invocation of logger?

Options

  • Alogger -i -p auth.warning "rsh attempted from $ruser@$host to $user"
  • Blogger -p warning.auth "rsh[$$]: attempted from $ruser@$host to $user"
  • Clogger -i -p auth.warning -t rsh "attempted from $ruser@$host to $user"
  • Dlogger -p auth.warning -t rsh "[$$] attempted from $ruser@$host to $user"

How the community answered

(29 responses)
  • A
    7% (2)
  • B
    17% (5)
  • C
    72% (21)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 310-202 Practice