Jump to content


Photo

FTP to SuSE 9.0 LiveEval (Booted)


  • Please log in to reply
2 replies to this topic

#1 xenon

xenon

    stranger

  • Members
  • 2 posts

Posted 15 September 2004 - 05:41 PM

I am working a subnet where I am trying to FTP to a
SuSE 9.0 LiveEval (bootable linux). I am begining
to think I should just as well go out an pick four
leaf clovers! Here is what I have done thus far...

I INSTALLED AN FTP DAEMON...

> cd /tmp
> rpm -i -vv -force -root /windows/c/temp vsftpd-1.2.0-52.i586.rpm
> cd /usr
> mv local local.orig
> ln -s local /windows/c/temp
> mv sbin /windows/c/temp
> cd /var/log
> touch vsftpd.log
> chmod 777 !$
> cd /etc
> vi vsftpd.conf
--anonymous-enable=YES
--local_enable=YES
--write_enable=YES
--local_umask=022
--listen=YES
--anon_upload_enable=YES
--anon_mkdir_write=YES
--connect_from_port_20=YES
--secure_chroot_dir=/windows/c/temp/jail
----(also tried /tmp)
> cd /usr/local
> vsftpd &
...muns

SEND THE FTP
> ftp -a
FTP> open HOST0
...I get the banner I set in the vsftpd.conf
FTP> verbose on
FTP> binary
FTP> cd /tmp
...Failed to change diretory
FTP> cd /windows
...Failed to change directory
FTP> put random.dat
...Could not create file


What gives? Is this even possible?
Please enlighten me to the tao of
SuSE ftp! smile

#2 xenon

xenon

    stranger

  • Members
  • 2 posts

Posted 15 September 2004 - 09:03 PM

Solution:

Found that I had to do the following to get
FTP to work:

1. vi /etc/passwd
insure that user "ftp" had a home directory
that was in writable user space, say /home/ftp.

2. In the /home/ftp directory, made a subdir
called "incoming" (can't do a root ftp put
in the FTP home, anonymously).

3. chmod/chown such that....

drwxr-xr-x ftp root incoming

4. QED, huh! Works now...finally.


#3 martouf

martouf

    enthusiast

  • Members
  • 338 posts

Posted 16 September 2004 - 04:04 AM

I can't resist giving you a pat on the back for answering your own question.

..and I didn't even lift a finger. hey!





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

IPB Skin By Virteq