Solaris superuser login

Hi!

Can someone please tell me how to log-in to Solaris as a superuser or as a root?

I have tried using "root" as a username, and my superuser password i had set in the terminal for the log-in password but it says "Roles can only be assumed by authorized users". "Permission denied."

I'm talking about logging in to the whole PC as a superuser and not in the terminal.

Please help!
Thanks!

By default, root sessions are forbidden, being a security risk.

Should you want to remove that restriction, a discouraged practice, change root from a role to a user:

rolemod -K type=normal root
1 Like