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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
if your box has a disk drive, just boot from your rescue disk, mount the root partition of your harddisk and edit $mountpoint/etc/shadow to clean up the root password.
eg you have a line:
in there, just change it to:
then reboot and just type enter when asked for root pwd.
I searched the stack of junk by the Server, and did not find anything like a rescue diskette or an Emergency diskette. I will have to revisit this issue on Monday, and try David Ross's method of typing Single at the end of the line has the "Kernel" entry.
If I have the cd ISO images, can I make a rescue Diskette?
That IS the cd rescue You plop in the the CD and then at the opening prompt type 'rescue' without the ' ' .
It's suggested to try single first (usually ? ) then move onto more drastic ways such as editing your password files. However, since you are going to be changing root's password anyway, I guess it's whatever is easiest for you. You should be aware of how easy this is for you in the end and do your best to:
1. Ensure you will always remember root's password ;
2. Do everything you can to remove the ease that you encounter to gain root access. If you can do it, why can't anyone else just as easily?
Sorry if I sound like a freak, I've been reading literally hundreds of pages of security docs for the last couple of days and am becoming more and more paranoid someone might see my email to me about my car's exhaust
but judging by what you said masterC how can you prevent and intruder from doing this to your machine? like if it is just as easy as that to "reset" the root password, and like you said it would just be as easy for someone else to do it...so what has to be done to prevent this? like i know i will never forget my password, so is there anyway to make it non reversable?
yes i realize it is more so directed towards physical access...but no matter what kind of access it is let it be sittin in front of the target machine are sitting behind your machine in la la land, trying to access someones machine, i am just curious about a way to prevent the "reseting" of the root password
I would probably never forget my password as well. Luckily, the previous admin was a College intern, working part time. I am glad this "backdoor" was available. I wanted to access some info off this machine and wipe it out, and install Windows 2003 on It... Just kidding!!! I have to install Redhat 9 on it. Physical Security was not an issue, as access to the machine area is by card access only.
Originally posted by DrOzz yes i realize it is more so directed towards physical access...but no matter what kind of access it is let it be sittin in front of the target machine are sitting behind your machine in la la land, trying to access someones machine, i am just curious about a way to prevent the "reseting" of the root password
There are ways to keep anyone from overwritting current files or even appending to them, one way:
On the file. Root cannot even append to the file if this is applied. You will have to:
To remove that restriction to actually change the files. It's a quick and easy thing to do to:
Just remember you did it should you choose to. This is obviously un-doable should one gain root access, but this will keep them from gaining root access an easier way.