nerdexam
Oracle

1Z0-822 · Question #59

Assume you are on a system that has a valid use account johnjay Consider the following command-line invocation: rolemod -p "Network Administrator,All,Stop" johnjay What is the result?

The correct answer is C. The system will return an error. root@solaris:~# useradd johnjay root@solaris:~# passwd johnjay New Password:Re-enter new Password:passwd: password successfully changed for johnjayroot@solaris:~# rolemod -p "Network Administrator,All,Stop" johnjayUX: rolemod: ERROR: Users must be modified with…

Advanced User Management

Question

Assume you are on a system that has a valid use account johnjay Consider the following command-line invocation:

rolemod -p "Network Administrator,All,Stop" johnjay What is the result?

Options

  • AThe user will not acquire profiles allowed in /etc/secutity/policy.conf
  • BThere is no effect. The user acquires all profiles before the Stop profile is read.
  • CThe system will return an error.
  • DThe user gets Network Administrator profile and all profiles listed in the All macro.

How the community answered

(34 responses)
  • A
    12% (4)
  • B
    21% (7)
  • C
    62% (21)
  • D
    6% (2)

Explanation

root@solaris:# useradd johnjay root@solaris:# passwd johnjay New Password:Re-enter new Password:passwd: password successfully changed for johnjayroot@solaris:# rolemod -p "Network Administrator,All,Stop" johnjayUX: rolemod: ERROR: Users must be modified with 'usermod'.root@solaris:#

Topics

#rolemod#rights profile#Stop profile#RBAC

Community Discussion

No community discussion yet for this question.

Full 1Z0-822 Practice