LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-17-2008, 01:39 PM   #1
dhupke
LQ Newbie
 
Registered: Jun 2007
Posts: 19

Rep: Reputation: 0
Jailkit on Slackware 12.1


I'm attempting to install Jailkit 2.5 on my Slackware 12.1 box. My goal is to setup a secure FTP server that forces users to stay in their /home directory and does not allow them to browse.

I've attempted to install using the documentation here, http://olivier.sessink.nl/jailkit/index.html#intro, but no luck. I followed the installation steps, but when I try to connect via command line (sftp test@localhost) I get the message "Couldn't read packet: Connection reset by peer"

Maybe there's a better or simpler solution with Slackware 12.1??

Any help would be appreciated.

Thanks,
Dave
 
Old 10-20-2008, 06:26 AM   #2
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware
Posts: 572

Rep: Reputation: 154Reputation: 154
This might interest you (especially the last few postings):

http://www.linuxquestions.org/questi...-users-676440/

Chris
 
Old 10-20-2008, 01:08 PM   #3
dhupke
LQ Newbie
 
Registered: Jun 2007
Posts: 19

Original Poster
Rep: Reputation: 0
jailkit

Thanks, I'll take a look at this.
 
Old 10-22-2008, 05:12 PM   #4
Mellar
LQ Newbie
 
Registered: Jan 2008
Posts: 29

Rep: Reputation: 15
I just want to add that chroot isn't secure, and that's one of the reasons why we have these other jail solutions. Take a look at the freebsd handbook for an explanation: http://www.freebsd.org/doc/en_US.ISO...ils-intro.html

Debian and some other distributions make jails easier to set up, because of their preconfigured philosophy and large repositories. With Slackware you are pretty much on you own to solve this, and that's why I like the BSDs for this purpose. But it's your box, and you decides how secure it's going to be. Maybe a simple chroot environment solves your needs?
 
Old 10-23-2008, 07:47 AM   #5
dhupke
LQ Newbie
 
Registered: Jun 2007
Posts: 19

Original Poster
Rep: Reputation: 0
jailkit

I will take a look at FreeBSD, I am open to any and all suggestions.

Thanks
 
Old 10-23-2008, 09:17 AM   #6
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
Originally Posted by Mellar View Post
...With Slackware you are pretty much on you own to solve this
I is not really hard to do, though
Just add a line in /etc/vsftpd.conf (chroot_local_user=YES)
Also, you said "chroot isn't secure", but it's a bit generalized imho,
in the case of vsftpd, please post a security link with vsftpd chroot users exploit
 
  


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
SFTP and Jailkit Darkstar274 Linux - Server 4 05-12-2010 02:42 AM
Problems with Jailkit 2.3 GUI KoolK Ubuntu 0 03-27-2007 12:55 AM
jailkit closes ssh session xilace Linux - Software 7 10-07-2006 11:20 AM
Jailkit Problems OneEye Linux - Software 3 03-31-2006 01:44 AM
jailkit issues mithereal Linux - Software 3 01-22-2006 05:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:15 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration