LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-25-2004, 10:44 AM   #1
chongluo
Member
 
Registered: Mar 2004
Location: uk
Distribution: fedora2, slackware10
Posts: 54

Rep: Reputation: 15
ftp only user


i want to creat some users with ftp only function, which will only allow him to ftp to my server, no shell login

and importantly, the user can only access his home directory, with downloading options only

for example, the username is test
home dir is /win/collection

i want this user can only download everything in /win/collection directory

pls advice
 
Old 03-25-2004, 10:51 AM   #2
Digital_Err0r
Member
 
Registered: Mar 2004
Posts: 80

Rep: Reputation: 15
i use vsftpd with chroot -ing
 
Old 03-25-2004, 11:44 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
To ensure no other login capabilities, give them a false shell like this:

Open /etc/passwd

And make their default shell as /bin/false

then remember to add this to your /etc/shells account as:

/bin/false

This will not allow them a physical shell account on the machine and only able to login thru FTP, etc.
 
Old 03-25-2004, 12:57 PM   #4
chongluo
Member
 
Registered: Mar 2004
Location: uk
Distribution: fedora2, slackware10
Posts: 54

Original Poster
Rep: Reputation: 15
Question

can you guys please explain this in more details, sorry, i'm a newbie to linux, using fedora core 1
 
  


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
FTP User with Quota ovl Linux - Software 1 08-28-2005 10:33 AM
Allow ftp user ust Linux - Software 4 06-21-2005 08:32 PM
Restrict User to FTP Only maxhugen Linux - Security 3 10-23-2003 06:01 PM
Only Allow ftp for a user kelper Linux - Software 1 03-10-2003 06:04 AM
ftp user dsgdevil Linux - General 11 02-05-2003 08:39 PM


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