LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   SSH and FTP (http://www.linuxquestions.org/questions/linux-networking-3/ssh-and-ftp-84345/)

quozt 08-21-2003 08:11 PM

SSH and FTP
 
hey all, 2 questions

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

cheers

hexbit 08-21-2003 08:56 PM

> 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.

quozt 08-22-2003 04:57 AM

any comments on the FTP Questions

quozt 08-22-2003 05:01 AM

k i created the user bob and logged on SSH but he gets access to all the computer not just his home dir this is also true with FTP

Hangdog42 08-22-2003 08:10 AM

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.


All times are GMT -5. The time now is 12:20 PM.