LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Still trying to FTP to my samba share space! (https://www.linuxquestions.org/questions/linux-software-2/still-trying-to-ftp-to-my-samba-share-space-14924/)

bripage 02-23-2002 12:52 AM

Still trying to FTP to my samba share space!
 
Ive looked, read, tried, tried and tried. I just cant seem to figure out how to be able to FTP to my linux box(the samba space specifically) from another comp. Id really like to have someone help me who know how to use/run pro-ftpd. It would most helpful.

saavik 02-23-2002 01:49 AM

well
 
i don`t know your distribution but
1. did you start an ftp service?
2. how is you firewall configurated?
3. can you ping your server ?
4. can you contact your server with ftp ?
5. is the special directory opened for ftp?

bye
:study:

bripage 02-23-2002 01:24 PM

Im running slack8....

dont know if ftp is running
yes i can ping the server
dont know if i can ftp to it
dont know if the directory is set to allow ftp access.

bripage 02-24-2002 01:33 AM

I need to know how to set up my FTP sh*t so that I can access it anomously from a remote location. Can someone please HELP ME!!!!!!!!:cry:

bripage 03-20-2002 11:43 AM

hmmm... still looking for help!!!!!!:cry: :cry: :cry:

hanzerik 03-20-2002 12:16 PM

Quote:

Originally posted by bripage
I need to know how to set up my FTP sh*t so that I can access it anomously from a remote location. Can someone please HELP ME!!!!!!!!:cry:
Why anomously? Why not just create you a user with the path to the home directory in /etc/passwd. ie: instead of /home/username, put /path/to/samba/share. That way when you do get your ftpserver problem worked out, you can start up your ftp client on whatever you are using, and just supply a username and password, and you should connect straight to the directory where your samba space is.


start proftpd
/usr/local/sbin/proftpd

If you want it to start automatic when comp boots:
add the above line to /etc/rc.d/rc.local

heres a down and dirty how-to

http://www.linuxhelp.net/guides/joey/proftpd.shtml

Sixpax 03-20-2002 03:44 PM

Anonymous FTP can be a bit tricky. There's an RPM that will set it up for you, but I realize you aren't using RH/MDK. I'm not sure if Slackware has an equivalent install or not.

I'll give you some basics on what has to be done though.

First of all, there has to be a user called "ftp" in your /etc/passwsd file. The home dir for that user will become the root dir when someone ftp's to your box as anonymous. Here's where the problem comes in... once that dir becomes the root, the system can't find some of the programs it needs to operate not to mention the /etc/passwd and /etc/group files for reference sake. So you basically have to setup a /bin, /etc, and /lib dir with the bare minimum files under ftp's home for it to work.

Here's a list of the files that were needed for anon ftp to work on my system (/var/ftp is where ftp's home dir is):

/var/ftp
/var/ftp/bin
/var/ftp/bin/compress
/var/ftp/bin/cpio
/var/ftp/bin/gzip
/var/ftp/bin/ls
/var/ftp/bin/recompress
/var/ftp/bin/tar
/var/ftp/bin/zcat
/var/ftp/etc
/var/ftp/etc/group
/var/ftp/etc/ld.so.cache
/var/ftp/etc/passwd
/var/ftp/lib
/var/ftp/lib/ld-2.2.4.so
/var/ftp/lib/ld-linux.so.2
/var/ftp/lib/libc-2.2.4.so
/var/ftp/lib/libc.so.6
/var/ftp/lib/libnsl-2.2.4.so
/var/ftp/lib/libnsl.so.1
/var/ftp/lib/libnss_files-2.2.4.so
/var/ftp/lib/libnss_files.so.2
/var/ftp/lib/libtermcap.so.2
/var/ftp/lib/libtermcap.so.2.0.8
/var/ftp/pub

BTW, you don't want your full passwd and group contents in the version you copy over... just the necessary entries, and be sure to replace any encrypted passwords with asterisks.


All times are GMT -5. The time now is 04:09 PM.