LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-01-2003, 05:35 PM   #1
-=DpG26=-
LQ Newbie
 
Registered: Aug 2003
Distribution: Red Hat 8
Posts: 6

Rep: Reputation: 0
Formatting


Hi All,

I have an old Pentium PC that someone gave me and I want to format and install Redhat as a e-mail/surfing box for a friend of mine. Problem is that an older version of RH is already installed (6 I think). Looks like command line only. What I want to do is format and put a clean install on. So the question is with out having a bootable CD Rom drive and without having the password for Root for the version currently installed how do I format? Would a boot disk do the trick? Any help would be greatly appreciated,

Cheers guys,

-=DpG=-
 
Old 09-01-2003, 05:47 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Use something like Tom's Root and Boot floppy, boot into Linux, do fdisk and mkfs to your heart's content.

Or, command

passwd

and reset the password to one you know.

Last edited by fancypiper; 09-01-2003 at 05:49 PM.
 
Old 09-01-2003, 07:22 PM   #3
MadMonkey
LQ Newbie
 
Registered: Aug 2003
Location: USA
Distribution: slack 9
Posts: 12

Rep: Reputation: 0
but you can't change the root password without logging in as root can you? seems like that would be a pretty serious security flaw...
 
Old 09-01-2003, 07:30 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
If someone has physical access to your box besides you, consider it insecure.

Security is a state of mind, not an OS.
 
Old 09-01-2003, 07:32 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by MadMonkey
but you can't change the root password without logging in as root can you? seems like that would be a pretty serious security flaw...
Well yes, in most cases this is a security flaw but you have to have physical access, which in most cases most poeple don't have. Just like any OS and physical access, anyone should be able to boot into a system to reset, in cases like this where no one remembers the password or loses it, etc.
 
Old 09-01-2003, 07:34 PM   #6
MadMonkey
LQ Newbie
 
Registered: Aug 2003
Location: USA
Distribution: slack 9
Posts: 12

Rep: Reputation: 0
so you can use that command with being logged in at all?
 
Old 09-01-2003, 07:45 PM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by MadMonkey
so you can use that command with being logged in at all?
What? I'm confused on what your trying to imply or ask?

If your asking if you can run that command without being logged in, when you boot to a single user mode or gain access to the system without logging in, you have access like you were root all along. There are no restrictions to the system, if that is what your asking.
 
Old 09-01-2003, 07:47 PM   #8
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
linux rescue, linux single, any "live cd" or boot floppy will allow access.

# I hosed my box
LILO fails: Error messages and their interpretation
LILO mini HOWTO
Multiboot with LILO HOWTO
LILO, Linux Crash Rescue HOW-TO
Installing a bootloader
Multiboot with GRUB Mini-HOWTO
Linux+Win9x+Grub HOWTO
KNOPPIX Linux Live CD
Linux Bootable Business Card
Tom's Root and Boot floppy
 
Old 09-01-2003, 07:47 PM   #9
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
i guess what i'm asking is how you can gain access to the system without knowing the password in the first place. even in single user mode i thought you had to login...
 
Old 09-01-2003, 07:54 PM   #10
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Red Hat Linux 8.0: The Official Red Hat Linux Customization Guide Booting Single-User Mode

Last edited by fancypiper; 09-01-2003 at 07:59 PM.
 
Old 09-01-2003, 07:54 PM   #11
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by mcd
i guess what i'm asking is how you can gain access to the system without knowing the password in the first place. even in single user mode i thought you had to login...
Well, they've worked ways around this now. Once upon a time when booting into single user mode, you were never asked a password. Now most distros have created it to ask for a password to gain access. The other ways around this now, well, some of the other examples fancypiper has given.....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting??? Tipidy Linux - Software 5 03-21-2005 05:55 PM
help formatting Tinku Linux - General 17 01-04-2005 12:27 PM
Formatting Parradux Slackware 4 12-25-2004 05:54 PM
Formatting help. Ra1n Linux - Newbie 3 05-14-2004 10:42 PM
formatting bnumark Linux - Software 3 07-21-2003 03:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration