Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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 have just downloaded and installed WinSCP on my work laptop, and am using it to connect to my Linux box at home (I'm still a Linux newbie though). This is great, as I can copy files to and from home, especially useful for files that are too big to e-mail.
I would also like to let colleagues (who already have WinSCP - they recommended it to me) connect, but I'm a little concerned.
I created a special user account, which contains nothing but files I want to share, but when I connect I notice that I can actually navigate up and access other directories (not those of other users, or various system stuff, but more than I want to give access to).
Is there any way I can restrict this user account so it only has access to it's own /home/user directory?
I've put everything I can think of into Google, but not come back with anything I can understand. Various things mention chroot, but i've not managed to find any examples I can follow (sorry, I am a newbie!)
Can anyone help?
what you describe is called "directory browsing"
since you created a special user account, also create a special user account group...........and give this group read permissions only to /home/user directory.........that way that group can't browse up and down the directory tree......
Thanks 320. I think what I'm after is some way of making my restricted account log in with 'bash --restricted' rather than 'bash'. I've tried editing my /etc/passwd file and changing '...:/home/user:/bin/bash' to '.../home/user:"/bin/bash --restricted"' but it's not quite working at the moment.