Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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,
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.
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.
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...
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.....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.