The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 RE: FTP with no shell access - Discovered the easy
Author: Philip 
Date:   29-07-00 18:51

The easiest way to do this is to use /stand/sysinstall to setup anonymous ftp. Then go look in that directory for all the required files. Tar them up so you have them forever (I would edit the password files though and remove almost all of it.. no reason to allow people to see what logins you have). Then delete the ftp user and it's home directory to turn off anonymous ftp.

Then create another user with a home dir of say /usr/home/joe/./pub . Untar the files in /usr/home/joe. When he ftp's in, joe shouldn't be able to get outside of /usr/home/joe

(I haven't actually tried this, but this is how it's supposed to work). do a "man ftpd" (i did it on 3.4)

-philip

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 FTP with no shell access - Discovered the easy way   new
el_kab0ng 27-07-00 15:45 
 RE: FTP with no shell access - Discovered the easy   new
Philip 27-07-00 18:29 
 RE: FTP with no shell access - Discovered the easy   new
el_kab0ng 27-07-00 19:29 
 RE: FTP with no shell access - Discovered the easy   new
el_kab0ng 28-07-00 04:13 
 RE: FTP with no shell access - Discovered the easy   new
Philip 28-07-00 04:26 
 RE: FTP with no shell access - Discovered the easy   new
el_kab0ng 28-07-00 09:20 
 RE: FTP with no shell access - Discovered the easy   new
Dan Langille 28-07-00 13:30 
 RE: FTP with no shell access - Discovered the easy   new
el_kab0ng 28-07-00 14:38 
 RE: FTP with no shell access - Discovered the easy   new
Philip 29-07-00 18:51 
 RE: FTP with no shell access - Discovered the easy   new
Kanji T Bates 30-07-00 16:12 
 RE: FTP with no shell access - Discovered the easy   new
el_kab0ng 31-07-00 22:55 
 RE: FTP with no shell access - Discovered the easy   new
el_kab0ng 31-07-00 22:57 
 RE: FTP with no shell access - Discovered the easy   new
Dan Langille 27-07-00 23:13 
 RE: FTP with no shell access - Discovered the easy   new
Kanji T Bates 30-07-00 06:09 
 RE: FTP with no shell access - Discovered the easy   new
el_kab0ng 31-07-00 22:52 
 RE: FTP with no shell access - Discovered the easy   new
el_kab0ng 08-08-00 07:14 
 RE: FTP with no shell access - Discovered the easy   new
el_kab0ng 08-08-00 08:43 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org