Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
in my infinite wisdom and linux experience, i attempted to restrict users seeing other users directories within the /home structure by executing chmod -R 700 home.
the result is now that no user other than root can log into the system, my email server is down, web server is down, database is non-responsive and who knows what else has dumped. either way, i'm in big trouble.
the only suggestion i have received was to start fresh with a new install, losing whatever i had (painfully i might add) set up before.
i then went into the home directory and ran:
ls -1 | xargs chmod -R 700
it paused for a moment then returned.
i still can't log in as any other user.
i suspect perhaps i've done something wrong with what you suggested.
should i be running the above on each individual user directory? although i think that the above did run it on all directories.
either way, still no good. i don't understand how the web server dumped. there are no pages served from user's home directories. also the database user for pgsql has no home directory, yet that user too has lost login ability. home must have some hidden bits???
su takisd or any user gives me
could not open session
if i use a system type user say apache or my qmail users i get the same thing.
accessing mail still won't work, and the web sites are dead. initially i got 403 for the sites and then i restarted apache and now all i get is 404 not found. pinging the sites still works, so dns is ok. just everything on the machine is dumped.
even tomcat which started as root won't work though ps -ef will show those pocesses running.