LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Root user

[ILUG] Root user

Ciaran Johnston cj at nologic.org
Mon Apr 2 16:24:33 IST 2007


Hi Alvaro,

alvaro at gilabert.org said:
> 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.

That would work.

>
> Has someone faced a similar problem or someone has idea of a good
> solution?

If you have a jumpstart server somewhere in the network, then

boot net -s

will get you into single user mode, assuming the broken machine is
configured as a jumpstart client. If you don't already have a jumpstart
server set up you could set one up on another Solaris box - it's not
overly taxing.

>
> As a hint, none of the Solaris box has a CD/DVD drive (but yes, we can
> buy one)

That's your easiest option. Exactly the same end result as the jumpstart
server, though it will probably take less of your time.

This is all assuming that you have the password for the eeprom, if it is
password protected.

/Ciaran.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell