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.
I deleted the root line in passwd and shadow and then tried to copy the backup and was able to put it all back to normal from rescue mode. However when i get to my login screen i can not login as root anymore or even after logged in as another user i can not su - or su root, it tells me that root user does not exist...... I am at a loss.... thanks
Click here to see the post LQ members have rated as the most helpful post in this thread.
Your thread title, "Need super duper help", is not very informative and will cut down the number of answers you receive. I suggest you read the sticky and the beginning of this forum and this article.
Ok is there a way to boot from a rescue disk and mount the drive and force a new root? I edited the passwd and shadow file and I am still receiving root user does not exist. I can recover all other accounts no problem I really need root.
if you find the install disk you used to install onto that computer, there should be an option such as 'start a rescue shell' which boots into sh with automatic root priveleges, at which point you can say passwd which will change the root password or edit the passwd and shadow files as you please or perhaps use adduser. Whichever option you choose, you will have root priveleges.
ok fixed the root problem..... KIND OF.... I used a CD to get root to make changes to the /etc/passwd and /etc/shadow. I remove the CD and boot up normal and able to login as root and everything is fine but, if I restart the server again everything breaks again. So I made a fix that I don't want to keep in place. I fixed it by chmod 666 passwd and shadow and I can reboot all day long and everything works but for obvious reason I don't want the mod to stay 666 but I really don't know what is making the change?