LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 12-03-2009, 11:01 AM   #1
SteveInTallyFL
Member
 
Registered: May 2008
Location: Tallahassee, FL
Distribution: RHEL4, RHEL 5, OEL4, OEL5
Posts: 60

Rep: Reputation: 17
vsftpd.conf question


RHEL AS4, vsftpd running. local_enable=YES and local_root set to alternate location than /home/$USER. When user logs in with an FTP client the local_root takes effect. When the user logs in with an SFTP client local_root does NOT take effect. What am I missing in the config to get the desired behavior when an sftp client logs in?
 
Old 12-03-2009, 12:33 PM   #2
SteveInTallyFL
Member
 
Registered: May 2008
Location: Tallahassee, FL
Distribution: RHEL4, RHEL 5, OEL4, OEL5
Posts: 60

Original Poster
Rep: Reputation: 17
Try Again: base sftp client in base NOT HOME

Okay. I did not dig deep enough before asking a stupid question. . .

Quote:
Originally Posted by SteveInTallyFL View Post
RHEL AS4, vsftpd running. local_enable=YES and local_root set to alternate location than /home/$USER. When user logs in with an FTP client the local_root takes effect. When the user logs in with an SFTP client local_root does NOT take effect. What am I missing in the config to get the desired behavior when an sftp client logs in?
So now I am looking into sshd_config to figure out how to make an sftp subsystem that effectively puts all client connections into the equivalent of an alternative ftp>local_root=/not /home/$USER. This does not seem to be a chroot, but I guess I do not understand chroot enough!

Also, I have given this group of local users (using password authentication on the SSH) no login shell. Would I be better served to just change their home dir to the location I want to send them for sftp?
 
  


Reply

Tags
rhel4, sftp, vsftpdconf


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
vsftpd.conf/chroot/vsftpd.chroot_list issue Jerman Linux - Security 2 06-01-2007 07:24 PM
how to configure vsftpd.conf dfw123 Linux - Networking 2 04-17-2007 12:15 PM
vsftpd won't read vsftpd.conf m2azer Linux - Software 9 04-21-2006 03:25 PM
VSFTPD.conf Malkaven Linux - Networking 7 03-09-2006 02:01 AM
vsftpd.conf - 550 error need help zaoka Linux - Software 3 08-02-2005 11:10 PM


All times are GMT -5. The time now is 10:32 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