Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-580 Topic 5 Question 20 Discussion

Actual exam question for Oracle's 1Z0-580 exam
Question #: 20
Topic #: 5
[All 1Z0-580 Questions]

Assuming that a user called "operator" exists on the system and is configured to use a profile shell, what is the impact of the following sequence of commands?

Show Suggested Answer Hide Answer
Suggested Answer: A

The Stop rights profile is the simplest way to create a restricted shell. The authorizations and rights profiles that are assigned in the policy.conf file are not consulted. In the default configuration, the role or user is not assigned the Basic Solaris User rights profile, the Console User rights profile, or the solaris.device.cdrw authorization.

Example:

Assign the Desktop Applets rights profile and the Stop rights profile to the user.

# usermod -P 'Desktop Applets,Stop' username

This user does not have the Basic Solaris User rights profile or the Console User rights profile. Therefore, no commands other than the commands in the Desktop Applets rights profile can be run by this user.

Note:

* The usermod utility modifies a user's login definition on the system. It changes the definition of the specified login and makes the appropriate login-related system file and file system changes.

* Synopsis

usermod [-u uid [-o]] [-g group] [-G group [, group...]]

[-d dir [-m]] [-s shell] [-c comment] [-l new_name]

[-f inactive] [-e expire]

[-A authorization [, authorization]]

[-P profile [, profile]] [-R role [, role]]

[-K key=value] login

* -P profile

One or more comma-separated rights profiles defined in prof_attr.

* prof_attr

- profile description database


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77