Oracle Solaris 11 x64 root password

passwordrootsolaris

I have installed OS 11 x64 on a pc to evaluate if this could be my new system for a home storage array of 48TB. I have a very basic problem: I somehow cannot access root with the admin password created at the install. I am currently logged in as admin@solaris but in order to configure zfs, etc, I need root access. How can reset the root passwd or simply remove it temporarily? Thanks, Dan

Best Answer

You can no more log in as root with Solaris 11 as, by default, root is not an account but a role. Just use sudo from your initial user login account if your need root privileges, eg

$ sudo -i

Should you want to revert root to its traditional (but less secure) non role setting, you can run:

# rolemod -K type=normal root
Related Topic