> > for root "type=role" to "type=normal"
> > After unomunt BE and reboot you'll get root access
> to
> > repair your system.
>
> I tried this as u said change root "type=role" to
> "type=normal", well the change is happening in the
> old BE but the new BE is not accepting any, its
> neither allowing the root to login nor it is
> accepting any changes made to /etc/shadow
1) Mount your BE in write mode (try after mounting touch
MountedBERoot/SomeFile; rm MountedBE/SomeFile)
2) either "chroot MountedBERoot","chmod u+w /etc/shadow" and edit it
3) either without chroot "chmod u+w MountedBERoot/etc/shadow", edit it, chmod
it back. (chmod 0200 /etc/shadow)
--
This message posted from opensolaris.org