using live CD you can boot. once you get console. open a terminal. then try 
below commands. Note: take a screen o/p before modifying anything. so that you 
can revert later.

pfexec zpool import # This would display the pool name.
pfexec zpool import rpool
pfexec zfs set mountpoint=/a rpool/ROOT/opensolaris # Assuming you used default 
method of installation.
pfexec zfs mount rpool/ROOT/opensolaris
cd /a/etc then pfexec vi shadow file and remove the encrypted hash for root & 
your user. save exit
cd /a/etc/default then pfexec vi login and modify to PASSREQ=NO. save exit.
zfs set mountpoint=/ rpool/ROOT/opensolaris
reboot to hard disk. you should be able to login with your user without 
password.
then try pfexec su - or su - ( without password ). then set the password again.
also make sure you edit /etc/default/login & say PASSREQ=YES. you've to have 
password. due to above parameter you won't be able to login with blank pws.

HTH.
-- 
This message posted from opensolaris.org
_______________________________________________
sysadmin-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss

Reply via email to