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)- A7% (2)
- B17% (5)
- C72% (21)
- D3% (1)
Community Discussion
No community discussion yet for this question.