LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-03-2012, 01:21 PM   #16
ashamanmiller
LQ Newbie
 
Registered: Dec 2010
Posts: 23

Original Poster
Rep: Reputation: 0

^ I was following the FTP section verbatim in the guide I posted, so...
 
Old 02-03-2012, 01:39 PM   #17
grim76
Member
 
Registered: Jun 2007
Distribution: Debian, SLES, Ubuntu
Posts: 275

Rep: Reputation: 46
Ok then you are talking about 2 different things..... Are you talking about proftpd or SFTP? They are not the same thing and should not be substituted for each other.
 
Old 02-03-2012, 02:19 PM   #18
ashamanmiller
LQ Newbie
 
Registered: Dec 2010
Posts: 23

Original Poster
Rep: Reputation: 0
I was just following the directions from the guide I posted verbatim.
 
Old 02-03-2012, 02:20 PM   #19
ashamanmiller
LQ Newbie
 
Registered: Dec 2010
Posts: 23

Original Poster
Rep: Reputation: 0
I don't know why that just posted twice. Anyway, I've been using SFTP. I guess I wasn't paying to close of attention, then. So, what do I need to do? Thanks!
 
Old 02-03-2012, 09:19 PM   #20
grim76
Member
 
Registered: Jun 2007
Distribution: Debian, SLES, Ubuntu
Posts: 275

Rep: Reputation: 46
Like I said previously. I don't think you can use SFTP with /bin/false. I am pretty sure that if you change the shell to something other than /bin/false that SFTP should work.

Keep in mind that FTP, and FTPS are different than SFTP. SFTP is a subsystem of SSH and therefore has to follow the rules of SSH.

What that guide appears to be trying to do is to setup FTP users not SFTP users.

Last edited by grim76; 02-03-2012 at 09:21 PM. Reason: Additional comments.
 
Old 02-04-2012, 11:04 AM   #21
ashamanmiller
LQ Newbie
 
Registered: Dec 2010
Posts: 23

Original Poster
Rep: Reputation: 0
Great, I'm getting somewhere! Yay! So, what should I change bin/false to? Maybe I should remove it completely?
 
Old 02-04-2012, 11:05 AM   #22
grim76
Member
 
Registered: Jun 2007
Distribution: Debian, SLES, Ubuntu
Posts: 275

Rep: Reputation: 46
You should change it to an appropriate shell. /bin/bash etc...
 
Old 02-04-2012, 11:21 AM   #23
ashamanmiller
LQ Newbie
 
Registered: Dec 2010
Posts: 23

Original Poster
Rep: Reputation: 0
Then, using sftp, what file would I edit to jail the users in their home directory I created? Thanks!
 
Old 02-04-2012, 11:51 AM   #24
grim76
Member
 
Registered: Jun 2007
Distribution: Debian, SLES, Ubuntu
Posts: 275

Rep: Reputation: 46
I have not done SFTP chroot on your linux distribution. http://www.dkpw.co.uk/wp/?p=3428 appears to give solid information on this topic.

I have only done SFTP chroot on RHEL and equivalent systems so hopefully this link will work for you.
 
  


Reply

Tags
connect, error, ftp, sftp, user


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
User account with SFTP access only nsfx Linux - General 3 01-06-2008 06:52 PM
I could use the user account I created in FC 5, but after upgrading to FC 6 I cannot pradnyasoorya Linux - General 3 02-06-2007 06:25 AM
Can a root account be created? darkhatter Ubuntu 9 03-22-2006 09:47 PM
is it legitimate and allowed and can be done to make another user account set uid and gid to null 0 to make another root account with different name and possibly not damage the debian system creating and using that new account BenJoBoy Linux - Newbie 12 01-29-2006 10:02 AM
Created a user account on slackware and now I cant enter root shirokiba Linux - Newbie 2 04-18-2004 07:44 PM


All times are GMT -5. The time now is 11:03 AM.

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