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 johnjay
root@solaris:~# passwd johnjay
New Password:
Re-enter new Password:
passwd: password successfully changed for johnjay
root@solaris:~# rolemod -p “Network Administrator,All,Stop” johnjay
UX: rolemod: ERROR: Users must be modified with ‘usermod’.
root@solaris:~#



Leave a Reply 0

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