1Z0-820 · Question #69
A change in your company's security policy now requires an audit trial of all administrators assuming the sysadm role, capturing: Executed commands, including options Logins and logouts There are…
The correct answer is B. auditconfig -setpolicy +argv. auditconfig -setpolicy +argv is correct because Solaris BSM auditing requires this exact syntax to enable the argv policy, which records the full command line including all options and arguments. Since rolemod handles assigning the lo (login/logout) and ex (execution) audit…
Question
A change in your company's security policy now requires an audit trial of all administrators assuming the sysadm role, capturing:
- Executed commands, including options
- Logins and logouts
There are two command necessary to accomplish this change. One is a rolemod command. What is the other?
Options
- Aauditconfig set policy=argv
- Bauditconfig -setpolicy +argv
- Cauditconfig -setflags lo, ex sysadm
- Dauditconfig set flags=lo, ex sysadm
How the community answered
(34 responses)- A9% (3)
- B71% (24)
- C15% (5)
- D6% (2)
Explanation
auditconfig -setpolicy +argv is correct because Solaris BSM auditing requires this exact syntax to enable the argv policy, which records the full command line including all options and arguments. Since rolemod handles assigning the lo (login/logout) and ex (execution) audit flags to the sysadm role, the auditconfig command's job here is specifically to ensure those execution records also capture what arguments were passed - satisfying the "including options" requirement.
Why the distractors fail:
- A (
auditconfig set policy=argv) uses an invalid syntax -auditconfigrequires a hyphen-prefixed flag like-setpolicy, not aset key=valuestyle. - C (
auditconfig -setflags lo,ex sysadm) confuses responsibilities:-setflagssets system-wide preselection masks, not role-specific ones, andauditconfigdoesn't accept a role name argument - that'srolemod's job. - D (
auditconfig set flags=lo,ex sysadm) combines both errors - wrong verb syntax and wrong command for role-specific flag assignment.
Memory tip: The + in +argv is your signal that you're adding a policy to what's already audited - think "+ all run goes visible." When a question mentions capturing command options/arguments, argv (argument vector) should immediately come to mind.
Topics
Community Discussion
No community discussion yet for this question.