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.
for starters I am not brand new to Linux but still learning plenty.
to begin with why I am doing what I am doing I am taking several Unix classes at a local college, so I slapped Ubuntu 11.04 on my laptop to get some better practice in. seeing as the instructor is of no help in even the most basic situations to even write a basic script.
I am using Putty, and Filezilla
so I installed LAMP, and configured my files, made 3 users, lets call them user 1, user 2, and user 3. I made a public_html folder in each ones home directory. made a very basic index.html for each one. when I tried to access them by the ip/~username it wouldn't work, until I changed the permissions to 755. once that was done all worked well, or so I thought.
my problem right now is that for user 1, I can view the html through the ip/~user1 IF and only IF I am logged into the machine through putty, Filezilla, or directly on the desktop. however for users 2 and 3 no problems what so ever. I checked all file permissions, and made sure they did not need any elevated sudo permissions to access. nope they all check out. the account is an administrator account, so I tried to make a fourth account giving it desktop user only privileges, the html works just fine, so I made it admin, still works, next I made the original account desktop user only, still no dice. so the ip/~username only works on this account IF the account is logged in to the system, whether it is remote or local does not matter, just has to be logged in. all the other accounts can pull up their HTML pages with no problems, this tells me its a privileges, or security feature that is turned on, or maybe not turned on that needs to be fixed. which one I don't know.
my question is, what is going on, why, and how do I fix it. could it maybe be that on that account I have encrypt the Home directory on? it would make sense to me.
sorry for the long post, just trying to be detailed.
thanks in advance for any help
If it is decrypted only when the user is logged in, then that would be the only time other users (www-data) would have access to the files residing there.
ya that would make sense then. I spent hours going through the file system playing with it then realized that oh ya I have encryption on only that account and figured that is most likely the cause of my troubles. although that is a good thing since that is the intention of encryption lol. yay for newb moves live and learn