LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-23-2002, 12:52 AM   #1
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Rep: Reputation: 30
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.
 
Old 02-23-2002, 01:49 AM   #2
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES11 / FC20/ OES / CentOS
Posts: 601

Rep: Reputation: 32
Question 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
 
Old 02-23-2002, 01:24 PM   #3
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Original Poster
Rep: Reputation: 30
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.
 
Old 02-24-2002, 01:33 AM   #4
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Original Poster
Rep: Reputation: 30
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!!!!!!!!
 
Old 03-20-2002, 11:43 AM   #5
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Original Poster
Rep: Reputation: 30
hmmm... still looking for help!!!!!!
 
Old 03-20-2002, 12:16 PM   #6
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
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!!!!!!!!
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

Last edited by hanzerik; 03-20-2002 at 12:28 PM.
 
Old 03-20-2002, 03:44 PM   #7
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 30
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.
 
  


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
can't mount samba share and then write to the share calbazon Linux - Software 8 10-10-2010 01:35 AM
Samba: 70 Gb free space, samba reports no space left? HansLuijten Linux - Networking 1 08-18-2004 04:40 PM
Simple Samba Setup, Share & Not Share timmywo Linux - Software 4 07-30-2004 07:27 AM
can i share swap space? sirpelidor Linux - Newbie 4 02-04-2004 02:26 PM
ok i giv eup on samba, i want to create an ftp share now...vsftpd rvn Linux - Newbie 3 10-10-2003 01:45 PM


All times are GMT -5. The time now is 12:29 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration