On Monday 02 April 2007 15:55:46 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 solution?
>> As a hint, none of the Solaris box has a CD/DVD drive (but yes, we can
> buy one)
How about booting from a USB key ?
CPH
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!