On Sun, Mar 14, 2010 at 2:44 PM, Mutahir <mutahiralis...@gmail.com> wrote: > Hi All, > > I recently did a fresh installation on a 80GB disk (Used entire disk for > opensolaris), I have forgotten the root and user password we set during > install (actually I have on pc and two or three hard drives, so i wanted to > dedicate one to opensolaris to learn / use it). > > I can't seem to remember any of the usual passwords i create :-) is there a > way I can recover root and the user password so that i dont have to > re-install again ?
I'm pretty sure that root is created as a role in OpenSolaris - this means that you cannot log in directly as root, rather you have to log in as a different user. If you can get in as the user you created during installation, you can probably use "pfexec bash" to get a root prompt. If that doesn't work, you can boot from the live CD or possibly from the failsafe boot option, then import rpool to an alternate root, edit the shadow file, etc. For example, http://www.solarisinternals.com/wiki/index.php/ZFS_Troubleshooting_Guide#Recover_from_Lost_Root_Password_or_Similar_Problem -- Mike Gerdts http://mgerdts.blogspot.com/ _______________________________________________ sysadmin-discuss mailing list sysadmin-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss