Note to self: Solaris 11 Express changes default access for initial user

This blog entry is a note-to-self administrative entry.

Solaris 11 Express just released today; I've been playing with the build, which is from the same source tree as OpenSolaris was.  I wanted to see how familiar it looks, so I installed it.  It installed just fine, looked much like my previous OpenSolaris installations except for some new branding elements (actually looks pretty
nice).

In OpenSolaris, the first user you create is granted the ability to use "pfexec" to execute programs that need root access.  (think of "pfexec" as like "sudo" on other Unix-like OSes).  But "pfexec" wasn't working for me on this newly-installed system.

The reason: security defaults are different in Solaris 11 Express compared with the defaults in OpenSolaris; by default, the initial user does not get the ability to use "pfexec".

To add this ability, I followed the directions on this page.  It's simple; su to become root, then type "usermod -P'Primary Administrator' <username>".

Oh, one more minor thing: the first time you try anything that requires root access, the system requires you to change the root password.  Once you do that, then you can grant other users administrative access as I just described above.

Powered by ScribeFire.

Comments

happy new year

feliz 2016,feliz año 2016,felicitaciones de navidad personalizadas,felicitaciones de navidad y año nuevo,felicitaciones navidad,felicitaciones https://happynewyearquotes-2017.com/

13 "What Is Love" series

13 "What Is Love" series contains a new color of the www.nikerunninguk.co.uk men and women models, and with the men and women Tee one.

You have given the pretty

You have given the pretty good idea of changing the root password to the system. I hope this can be applied to the essay editor blogs for my self and let me see the further changes in it.

I appreciate this

I appreciate this information. I'll be trying out this steps. - Stephen Samuelian

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.