Can you boot into single user mode from the bootloader?
I haven't used Solaris for a while but Solaris10 seems to use grub,
first google hit is this:
That should dump you into a root login without ever having to use the
so hopefully that should work.
Alternatively, I'd suggest a rescue CD - it can't be too difficult to get a
USB cd drive.
As you said you can take the disk and put it into another machine, but I'd
wary about doing that when there are simpler means available. If the disk is
part of a
RAID set then its a definite no-no.
On 4/2/07, alvaro at gilabert.org <alvaro at gilabert.org> wrote:
>> Recently, someone modified the /etc/passwd in a Solaris 10 box,
> changing the first line and capitalizing the root user.
>> As you can imagine, now it is impossible to log on as root. If you try
> to log on as root, it tells you that the user id doesn't exist. If you
> try as Root, it actually asks you for a password but lately tells you
> that such user doesn't exist.
>> Someone pointed out to powerdown the machine (phisically, by
> unplugging it from the power supply), load the disk onto another
> Solaris box, mount the disk, modify the /etc/passwd and place the disk
> back onto its place.
>> Has someone faced a similar problem or someone has idea of a good
>> As a hint, none of the Solaris box has a CD/DVD drive (but yes, we can
> buy one)
>> Alvaro G
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug> Who we are : http://www.linux.ie/> Where we are : http://www.linux.ie/map/>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!