1Z0-822 · Question #4
You have assigned rights profiles directly to the uses frank and now you want to add another profile. Which command enables you to list profiles directly assigned to frank?
The correct answer is D. profiles frank. profiles frank is the correct Solaris command to list the rights profiles directly assigned to a specific user. It queries the user's profile assignments and outputs them to stdout, making it the standard tool for exactly this administrative task. Why the distractors are wrong…
Question
You have assigned rights profiles directly to the uses frank and now you want to add another profile. Which command enables you to list profiles directly assigned to frank?
Options
- Auserattr profiles frank
- Bprofiles -p frank
- Cuseratter -p frank
- Dprofiles frank
How the community answered
(46 responses)- A4% (2)
- B2% (1)
- D93% (43)
Explanation
profiles frank is the correct Solaris command to list the rights profiles directly assigned to a specific user. It queries the user's profile assignments and outputs them to stdout, making it the standard tool for exactly this administrative task.
Why the distractors are wrong:
- A (
userattr profiles frank) -userattris a real command for querying user attributes, but its purpose is general attribute lookups, not profile enumeration; it's also not the idiomatic tool for this task. - B (
profiles -p frank) - The-pflag does not exist for theprofilescommand in this context; invalid syntax. - C (
useratter -p frank) - "useratter" is not a real command at all; this is a misspelling ofuserattrcombined with an invalid flag.
Memory tip: Think of it as asking the system directly - profiles <username> reads naturally as "show me the profiles for this user." No flags needed; just the command and the username.
Topics
Community Discussion
No community discussion yet for this question.