How to restrict user permissions
Hi,
I'm a real newbie in Linux, and I don't even know where and what to search for, in order to do what i have in mind. I would appreciate any help.
Here's what I want to do...
I have a file server on my network, accesed internal by ftp. I have an external IP for this server, but the problem is that all ports are blocked by the ISP (and I can't do nothing about this), except for port 22. I want to let other friends outside my netork acces the server, and the only way would be using a SSH Secure File Transfer Client. Of course, I cannot let them use the root account. I need to create an user (or multiple users on one group) that would have restricted acces to most of the commands (as many as possible, even all), the only thing that i'm interested in is that to let them copy files from several directories (practically I want to simulate a ftp server).
It can be done?
If someone knows what I have to do, or where to search for please let me know.
Thanks a lot.
|