Did you also try logging in as root from the console and notice that it doesn't 
work as well and notice the error message that appears which explains why you 
can't log in as root (either from console or from SSH) in OpenSolaris?

Basically it boils down to this: to increase security, there is no longer a 
real "root" user in a default vanilla install of OpenSolaris anymore but you 
can create one if you want to (i.e. OpenSolaris doesn't follow the traditional 
"all or nothing" approach to security that has been the major security weakness 
and downfall of most UNIX based systems since the 1970's). Instead, root is a 
"role" (one of many different possible roles) that can be assumed by users in 
RBAC (Role Based Access Control). To be able to log in as root, you have to 
make root become a user instead of being a role. How do you do this?

Well, if you type in the following complex sequence of three words: 

  opensolaris root login

into the Google search engine, you'll see literally hundreds of different links 
that explain how to do this using different methods. Two of my all time 
favorite links on doing this are the following:

http://www.comp-sos.com/index.php/review/operating-systems/42-unix/80-install-azureus-open-solaris-200805

http://www.blastwave.org/dclarke/blog/?q=node/110

If you want to keep root as a "role" and don't want to make it a "user", you 
can also log in as a normal user with the appropriated RBAC priveleges (the 
user you created during install has these priveleges) and type in the following 
command:

  su - root

and enter in the root password and become root.

Teach a man to fish and he eats for a day. Teach a man to search using 
google.com and he can find solutions to all of his OpenSolaris problems for the 
rest of his lifetime ;-)
-- 
This message posted from opensolaris.org

Reply via email to