LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-24-2003, 01:32 PM   #1
armcfall
LQ Newbie
 
Registered: Jun 2003
Posts: 6

Rep: Reputation: 0
vsftp Question


Hi, I have a quick question about vsftp. I am not sure about setting up user accounts. Is is possible to securely allow local users to use ftp?

I read something that said I can set up chroot'ed user accounts and provide the local user with a /dev/null shell. Will this prevent security threats?

Thanks.
 
Old 06-24-2003, 06:31 PM   #2
jvannucci
Member
 
Registered: Jan 2003
Location: Connecticut, US
Distribution: Red Hat 9.0
Posts: 98

Rep: Reputation: 15
I believe you can do this:

Edit /etc/vsftpd/vsftpd.conf and add the line:

chroot_local_user=yes

Then for the users you don't want to be able to login on your host, change their shell in /etc/passwd to /bin/false:

# useradd user1
# usermod -s /bin/false user1
# passwd user1
 
Old 06-24-2003, 07:41 PM   #3
armcfall
LQ Newbie
 
Registered: Jun 2003
Posts: 6

Original Poster
Rep: Reputation: 0
thanks
 
  


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
VSFTP question WiWa Linux - Newbie 7 08-13-2004 03:30 AM
VSFTP question basemodel Linux - Software 1 02-27-2004 11:50 PM
VSFTP question on configuration? gsmonk Linux - Networking 0 08-05-2003 02:51 PM
vsftp question knueven7 Linux - Software 3 05-08-2003 02:52 PM
question of vsFTP on RH8 sieeus Linux - Software 1 10-21-2002 09:29 AM


All times are GMT -5. The time now is 01:14 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration