Oracle Solaris System Administration (MOSC)

MOSC Banner

Administration Tasks as a Privileged User

edited Jun 21, 2011 12:26AM in Oracle Solaris System Administration (MOSC) 2 commentsAnswered ✓
Hello,
I was taking a look at Oracle Solaris 11 Express Release Notes when the following passage caught my attention.

"In addition, that user is granted the Software Installation rights profile, which includes commands like pkg and beadm . For such commands, the user need not assume the root role. Instead, the user can invoke a subshell. For example, pfsh , from which to invoke these commands. It is no longer necessary to use the pfexec command."

So I decided to give it a try with the belief it could really be nice.
My command was:

user1@bruma:~$ pfsh
user1@bruma:~$ pkg update                                                      

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center