Unable to switch back to root from user

Hi,

I am new to Solaris and when i am trying to Switch to root login from user, system throws message saying permissions denied...

Steps I Followed:

Created a user and logged into that user by SU username

tried to come back to root but system throws message "permissions denied"

Opened new terminal then, i am able to poweroff the system i.e new terminal opened as root login..

root> su username
username> ...  enter commands
username>
username>exit
root>

exit will get you back to root from":

 su - username

, which is probably the command you should use instead of

su username

su - [user] logs you in fully, executing all the that user's .profile settings.

Thanks Jim,

Now the problem is.. i am unable to log in to the machine.. when i tried to turn on the machine.. its asking for the console login..

Because previously i poweroff the machine from another terminal... when its in SU mode..

I tried giving root id and passwd but the attemp went in vain.

Help me out

what kind of hardware is it?

V 5.10 on X86 machine..

what kind of x86 hardware? is it a sun server? or some other hardware?

its not sun hardware, i am using pentium processor and running the sun os on Virtual machine..

sorry for the incomplete information.. please let me know for any further info on this regard

so when it is a virtual machine, how is it that you can't login to the "console". exactly which console are you talking about?