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.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
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.