[lug] How to set up a private FTP account for a user?

Bill Thoen bthoen at gisnet.com
Sat Apr 1 07:10:40 MST 2006

Thanks Sean,

I sort of remember in the old days when you wanted to create a private FTP
account, you'd create a new user account and assign it a null shell (or
ftponly , or something like that) and then copy the FTP working files and
directories to the new user's directory, so that the only thing they could
do was FTP. But I'm a little vague on exactly what the process was now.  

The fact that I see no mention of this with the vsftp docs, and now your
comment that it's not supported makes me feel a little better in that the
reason I couldn't find any mention of it is because it's not there. So I
think I'll take the easy route and just add a new user account for my
client. That will at least get the job done.


- Bill Thoen

On Sat, Apr 01, 2006 at 12:07:49AM -0700, Sean Reifschneider wrote:
> On Thu, Mar 30, 2006 at 10:30:25AM -0700, Bill Thoen wrote:
> >I've got a need to provide upload/download FTP service for one of my 
> >clients, and I'm not sure how to go about it. I've got a RedHat FC2 
> >server set up with vsftpd, and I have set up a public FTP download 
> vsftpd doesn't support it, AFAIK.  I do that with proftpd.  Set up a
> dedicated /etc/proftpd/passwd and /etc/proftpd/group file for it to use, so
> that there is no system account.  You can also tune it to allow or deny
> directory listing, overwriting existing files, downloading but not
> uploading or the converse, etc...
> Thanks,
> Sean
> -- 
>  Get your data structures correct first, and the rest of the program will
>  write itself.  -- David Jones
> Sean Reifschneider, Member of Technical Staff <jafo at tummy.com>
> tummy.com, ltd. - Linux Consulting since 1995: Ask me about High Availability
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug

More information about the LUG mailing list