Again, this is for your own protection :-).

If you absolutely have a need to log in as root (after which you loose all accountability), run the following:

$ pfexec rolemod -K type=normal root

That will switch the root user from a role to a regular user account.

Here are a couple of articles on Roles that may help you understand their purpose. They are one of Solaris' great advantages over Linux:

   * http://blogs.sun.com/observatory/entry/roles
   * http://blogs.sun.com/observatory/entry/understading_rbac

Regards,
Brian

Peter Steiner wrote:
I can login into a system with a "normal" user and switch to root by entering 
the command

su -

plus root password. Fine.

However when I logout (root and normal user) and try to login from welcome 
screen into root account then openSolaris tells me:

"Roles can only be assumed by authorized users" and denies login although 
passwd is correct.

It seems to me that root account is somehow disabled for regular login.

How can I re-enable root login?

Peter

--
W Brian Leonard
Principal Product Manager
860.206.6093
http://blogs.sun.com/observatory

_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org

Reply via email to