nerdexam
Oracle

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…

Advanced User Management

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)
  • A
    4% (2)
  • B
    2% (1)
  • D
    93% (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) - userattr is 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 -p flag does not exist for the profiles command in this context; invalid syntax.
  • C (useratter -p frank) - "useratter" is not a real command at all; this is a misspelling of userattr combined 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

#Oracle profiles#user rights assignment#RBAC commands#access control

Community Discussion

No community discussion yet for this question.

Full 1Z0-822 Practice