What is the result?

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?

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?

A.
The user will not acquire profiles allowed in /etc/secutity/policy.conf

B.
There is no effect. The user acquires all profiles before the Stop profile is read.

C.
The system will return an error.

D.
The user gets Network Administrator profile and all profiles listed in the All macro.

Explanation:

root@solaris:~# useradd johnjayroot@solaris:~# passwd johnjayNew 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:~#



Leave a Reply 2

Your email address will not be published. Required fields are marked *


picoman

picoman

root@solaris:~# rolemod -p “Network Administrator,All,Stop” ysj
UX: rolemod: ERROR: Users must be modified with ‘usermod’.

The answer is C