I am assuming at this point in the game I would like to go with chroot. I am looking at only restricting certain users to their home folders so they cant browse around my system. I am relatively new to linux and do not feel comfortable messing around with permissions on all of the system files since I am not completely sure how they interact and what attributes are needed for each.
I just want to restrict certain users to their home folders.
I have looked at a few pages about the chroot command but I am still a little unsure of the syntax of the statements and how to enter them.
lets just say I have a user named user1. If I wanted to lock him to the home directory what would I do?
What would the syntax of the command be?? Could someone please help?
I would really like to try to tinker with these commands but I have a feeling that I would somehow lock myself out of my system and have to reformat again
Thanks in advance