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

Rafiq Maniar rafiq.maniar at gmail.com
Mon Apr 2 16:11:37 IST 2007


Hi Alvaro,

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:
http://www.cyberciti.biz/tips/solaris-boot-system-into-single-user-mode.html

That should dump you into a root login without ever having to use the
username 'root',
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
be somewhat
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.

Rafiq

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
> solution?
>
> As a hint, none of the Solaris box has a CD/DVD drive (but yes, we can
> buy one)
>
> Cheers,
>
> 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/
>



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