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.
Unless it was deleted, any default installation of FC should have an /etc/shadow file. I can't even think of a good reason to remove it in a network environment. (You still want root to be able to login locally to perform maintenance, etc.)
If it's been deleted, my best suggestion is to reinstall your system. You may be able to recreate the file using the pwconv command, but I haven't tested that on a system with a shadow-format passwd file. On the other hand, if your system is broken (missing shadow) then I doubt it would do any harm.
pwconv isnot there..I have no backup too..
Just want to know if copying the /etc/shadow file from remote system for default will do the trick.
If pwconv is not there..How to install that..pls help with right alternatives
/etc/shadow is a part of the system authentication system. It will need proper entries for each account on the system. Copying from another system would only work if they had identical users and passwords. Not having a backup of a system critical file is rather bad. pwconv is normally in /usr/sbin, at least on my systems.
I went through the above method to get back the /etc/shadow file.
But one line confuses me:
1) Mount partitions in read write mode
Since / is currently mounted read-only and many disk partitions have not been mounted yet, you must do the following to have a reasonably functioning system.
# mount -rw -o remount /
Do not forget to (re)mount your rest of all your partitions in read/write (rw) mode such as /usr /var etc (if any)
What does the last two lines says..Does it says I have to run the command repeatedly