ExamNotes.net  -  IT certification portal

ForumsCertResearchTop sitesNewslettersFree email
HomeRegister


Exams Notes
Practice exams
Exam games
Questions by email
Online training
Training videos
College degrees
Boot camps
Book store
Links directory
Tell a friend
For webmasters




Other IT certifications > Linux/Unix > Getting Root

Show a Printable Version
Email This Page to Someone!
Receive updates to this thread



Author Getting Root
rlrouns
Member




Registered: Aug 2000
Location: Coral Springs
Country: US
State:
Certifications: SANS GSEC, IBM Server Expert, CCNA, SANS Win2k Gold Standard, MCSE, Linux+, Security+
Working on: GCWN, CISSP

Total Posts: 235
Getting Root

I happened to be working with some guys on a solaris box the other day, and no one had the root password. Being the excellent guys that they were, they said, no problem, and had root in about 2 minutes with the OS CD. They told me that with basically any UNIX or Linux box, root can be had if you have a CD with the OS on it. They said something about mounting the CD, then they went into the directory where the password was, and deleted it, or put something else. Can someone please explain if this can be done on a linux box and how to do it, or any site with info on how to access the box and get root? Thanks!

Robert

Report this post to a moderator

Old Post 01-15-02 12:53 AM
rlrouns is offline Click Here to See the Profile for rlrouns Click here to Send rlrouns a Private Message Add rlrouns to your buddy list Find more posts by rlrouns Send a message to rlrouns Reply w/Quote Edit/Delete Message IP: Logged
ccieToBe
Wireless Fanatic




Registered: Jul 2000
Location: Blue Ridge, North Georgia
Country: US
State:
Certifications: CCDA, CNA, MCP, Network+, A+, BSIT
Working on: Security+

Total Posts: 2210
Re: Getting Root

quote:
Originally posted by rlrouns
I happened to be working with some guys on a solaris box the other day, and no one had the root password. Being the excellent guys that they were, they said, no problem, and had root in about 2 minutes with the OS CD. They told me that with basically any UNIX or Linux box, root can be had if you have a CD with the OS on it. They said something about mounting the CD, then they went into the directory where the password was, and deleted it, or put something else. Can someone please explain if this can be done on a linux box and how to do it, or any site with info on how to access the box and get root? Thanks!

Robert



By default in the BSDs you can boot into single user mode and change root's password by typing "boot -s" at the boot prompt which comes just before the OS is loaded. Single user mode has no concept of different user names so by default you can enter it with no password and do whatever you want including changing passwords. There are some things you can do to get around this like requiring users to enter root's password before gaining access to single user mode, but even when you do this your box is still very vulnerable to anyone with physical access to your box.

The details of how you go about doing this vary, but the concepts are the same for every *nix variant afaik.

You could also use a boot disk to change the password by booting from it, then mounting the appropriate partition(s) and changing the password just as you would normally. You can make it more difficult for someone to do this by setting the harddrive to be the first boot device and password protecting the bios settings, but someone could always just pull the BIOS batter if they have access to the box.

Bottom line: if you want to secure your box physical security is a huge component of the overall picture.

Report this post to a moderator

Old Post 01-15-02 02:47 AM
ccieToBe is offline Click Here to See the Profile for ccieToBe Click here to Send ccieToBe a Private Message Visit ccieToBe's homepage! Add ccieToBe to your buddy list Find more posts by ccieToBe Reply w/Quote Edit/Delete Message IP: Logged
pikejl
Member




Registered: Nov 2001
Location:
Country: United States
State:
Certifications: SCSA, SCNA, OCP, CCNA
Working on: SCJP, CCNP

Total Posts: 47
PROM password

Of course you could prevent that by setting an EEPROM password. Agree... physical security is #1

Report this post to a moderator

Old Post 01-15-02 10:36 PM
pikejl is offline Click Here to See the Profile for pikejl Click here to Send pikejl a Private Message Add pikejl to your buddy list Find more posts by pikejl Reply w/Quote Edit/Delete Message IP: Logged
All times are GMT.
Post new thread   Post reply


Forum Jump:
Rate This Thread:
Forum Rules:
Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is ON.
 

ExamNotes forum archive


Powered by: vBulletin 2.2.8
Copyright ©2000, Jelsoft Enterprises Limited.

  Free Braindumps | mcse braindumps