Compatible Support Forums: FTP to SuSE 9.0 LiveEval (Booted)

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

FTP to SuSE 9.0 LiveEval (Booted)

#1 User is offline   xenon 

  • stranger
  • Group: Members
  • Posts: 2
  • Joined: 15-September 04

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 &
...runs

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
0

#2 User is offline   xenon 

  • stranger
  • Group: Members
  • Posts: 2
  • Joined: 15-September 04

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.

0

#3 User is offline   martouf 

  • enthusiast
  • Group: Members
  • Posts: 338
  • Joined: 09-July 04

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users