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…
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)- A12% (4)
- B21% (7)
- C62% (21)
- D6% (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
Community Discussion
No community discussion yet for this question.