LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-21-2003, 07:11 PM   #1
quozt
Member
 
Registered: Jul 2003
Location: Leeds
Distribution: Knoppix
Posts: 60

Rep: Reputation: 15
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
 
Old 08-21-2003, 07:56 PM   #2
hexbit
Member
 
Registered: Jun 2003
Location: Dallas, Tx
Distribution: Slackware
Posts: 65

Rep: Reputation: 15
> 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.
 
Old 08-22-2003, 03:57 AM   #3
quozt
Member
 
Registered: Jul 2003
Location: Leeds
Distribution: Knoppix
Posts: 60

Original Poster
Rep: Reputation: 15
any comments on the FTP Questions
 
Old 08-22-2003, 04:01 AM   #4
quozt
Member
 
Registered: Jul 2003
Location: Leeds
Distribution: Knoppix
Posts: 60

Original Poster
Rep: Reputation: 15
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
 
Old 08-22-2003, 07:10 AM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,790
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help w/ FTP and SSH rules Charles Daniel Linux - Security 1 10-18-2005 09:58 PM
ftp within SSH DJOtaku Linux - Software 1 03-13-2005 08:34 PM
FTP and SSH Ikik Linux - Networking 10 08-20-2003 10:55 AM
ssh and ftp artman62 Linux - Networking 4 08-25-2002 04:55 PM
FTP over SSH?? markma Linux - Security 1 12-29-2000 01:26 PM


All times are GMT -5. The time now is 11:52 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration