Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
ive set up both SSH and FTP on my system and i want now for other users to have access to certain parts and to be able to run command line functions (like make and mkdir )
i want "bob" to have access to his home dir via FTP and SSH (to be able to upload/download and run commands)
and i want "james" to have acces to HIS home dir via FTP and SSH but i dont want either to be able to come out of there home directory (though htye can view there sub folders and a shared folder )
how can i do this im using RH9 with its inbuilt SSH server and im using pureftpd...im also using the webmain admin with a pureftpd module installed
1 more quick question.... where is the MOTD stored for pureftpd
> i want "bob" to have access to his home dir via FTP and SSH (to be > able to upload/download and run commands)
> and i want "james" to have acces to HIS home dir via FTP and SSH > but i dont want either to be able to come out of there home directory > (though htye can view there sub folders and a shared folder )
> how can i do this im using RH9 with its inbuilt SSH server
Just create 2 new users on your system for "Bob" and "James" then have them ssh into your RH9 box. They'll prolly only have write access to their home directories unless you specify some place else.
If you want to restrict what directories users can see, I think you have to investigate chroot. I've never used it, so I can't offer any real world advice, but a google for chroot brings up tons of links and I know it has been discussed in depth in the Security forum here at LQO.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.