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.
As we know that at boot time when we see the OS selection screen we can press "e" to edit it that is Linux OS selection and enter single user mode from where we can easily break the root's password.
So, is there any other method do achieve the same result?
For maintenance purposes you can pass the 'single' parameter to the kernel but you would still need the 'root password'.
You can use your install cd/dvd to boot your system then perform mounts that can be chroot to the correct mount that allow you to edit as desired. These methods are used to correct problems on your system yet could be malicious performed.
Using 'single user mode' seems to vary a bit between distributions and even their versions; earlier it was common that one could get root privileges by booting into that runlevel without any passwords asked, then some distributions started doing it so (by default) that one needed to enter root password even when booting into single-user mode, and now I again see that it works without the password. I wonder where it's all going..but if you don't set a password to your bootloader or BIOS, then I guess it's not much use to have one for single-user mode either.
All in all, if the disk is not encrypted, it's easy to break. When it is encrypted, it's just harder, not impossible. In the mean time check if other users can read files from your homedirectory; as odd as it sounds, the default policy on a lot of big distributions is to create files with permissions for others to read (but not modify) them..