Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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'm a newbie. I just installed Redhat 9 on an HP machine. I set up Squid, Samba and Sendmail. O'course with a lot of help from this site. Thanx.
However, I've encountered another hitch.
I copied the mailboxes, var/spool/mail/*, from the old linux machine to the new one using scp. I moved the home directories, /home/*; passwords /etc/passwd; shadow password file /etc/shadow; using scp to the respective directories on the new machine. I changed the permissions for the mailboxes to -rw-rw---- or 660.
The problem is when I open the Users and Groups under system settings it brings up the error "The user database cannot be read. The program will now exit". Then I got help that if there is a mismatch in the passwd and shadow files, then you'd have that problem. So I renamed the shadow file to shadow1 so that it could not be read and the Users and Groups opened. However, the root password was not being accepted for any connections. I tried to put back the shadow and root login was accepted but Users and Groups couldn't open. All this time the users could not access their mailboxes on port 110 because the passwords were being rejected
So, now I have removed the shadow file, set the root password and I can log in as root. And for each user whose password I set again they can login. Now my questions are:
1. Is there a way of synchronising the passwd and shadow files so that I could have no problem opening the Users and Groups Window?
2. How risky is it to run a mail server without the shadow file?