I made a rather bad mistake while playing around with Solaris 11, which has left me locked-out.  I accidently changed the first character of my username in /etc/passwd, and the new username is not recognized as having the root-role (major bummer).So I need a way to access the root-filesystem in rpool on the partition I use for Solaris while using the live install-DVD.  Sadly zpool doesn't detect the partition while i run the live-DVD, and since I'm a bit of a novice, I don't want to experiment on my own and make things worse...So what is the correct way of getting Solaris to detect a pool on a disk-partition and/or access a filesystem in a pool on a disk-partition when it's not automatically detected?
Solaris 11: Accessing a pool on disk from live DVD?
solaris;zfs
A couple of things to check into:Depending on how much patching you may have done, but zpool and/or zfs versions of the initial installation media may not be compatible with the version of zpool/zfs on disk. Do you know how far your solaris image had been patched?  or what the most recent SRU applied was? If you have Oracle support, SRU 9.5 had enough patches that Oracle has made installation media available that's patched to that level.If you are running Solaris 11.1, or Solaris 11 11/11, there are differences with the way the rpool is configured.  If zpool import doesn't show you the rpool, you can try forcing it to recognize rpool by importing with the -f option.  Then you'll need to mount the boot environment you wish to change.  Once the BE is mounted, you can edit the password and shadow files to fix your username, then restart the computer from the internal disk to recover.From a GNOME terminal in the live CD desktop:# zpool import -f rpool# beadm listbe_find_current_be: failed to find current BE namebe_find_current_be: failed to find current BE nameBE                 Active Mountpoint Space  Policy Created          --                 ------ ---------- -----  ------ -------          solaris            -      -          11.45M static 2011-10-22 00:30 solaris-2          R      -          12.69G static 2011-10-21 21:04 # mkdir /a# beadm mount solaris-2 /a# TERM=vt100# export TERM# cd /a/etc# vi shadow <make necessary changes># vi passwd<make necessary changes># cd /# beadm umount solaris-2# haltSince you mention being relatively a novice with Solaris 11, please let me know if clarification of any of these steps would be helpful.  What you are trying to do is very achievable. 