How to install BFTPD server

This forum is for topics dealing with problems with software specifically in the ARMv5 repo.

How to install BFTPD server

Postby metalshark » Tue Sep 16, 2014 8:17 pm

Hi guys,
Here i go again with a very annoying newbie question. Recently I tried installing bftpd on my server and this is what I did:
$this->bbcode_second_pass_code('', '
pacman -S bftpd
# made changes on my home directory to /srv/http
nano /etc/bftpd.conf
# looked for ROOTDIR and changed the value to "/srv/http/"
# saved changes.
# created a new user for it
useradd -g users-G wheel,ftp,http -m webmaster
# made a password for webmaster
passwd webmaster
# added webmaster to the ftpdpassword file as well
# with this format: webmaster password users /srv/http/
nano /etc/ftpdpassword
# finally ran bftpd
bftpd -d
')

I tried accessing ftp via browser and Windows Explorer (ugghh) but I still can't get in. Any tips to help me out please?
metalshark
 
Posts: 21
Joined: Tue Sep 02, 2014 12:17 am

Re: How to install BFTPD server

Postby WarheadsSE » Tue Sep 16, 2014 9:01 pm

Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: How to install BFTPD server

Postby Socaltom » Tue Sep 16, 2014 9:52 pm

I tried to install it last week, and I could not get anything to connect. I installed vsftpd and had it working in about 5 minutes
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: How to install BFTPD server

Postby metalshark » Wed Sep 17, 2014 2:22 am

@WarheadsSE - yes, that's the same website I followed.

@Socaltom - can you please share to us how you did this? Thanks buddy.
metalshark
 
Posts: 21
Joined: Tue Sep 02, 2014 12:17 am

Re: How to install BFTPD server

Postby Socaltom » Wed Sep 17, 2014 3:47 am

used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: How to install BFTPD server

Postby metalshark » Wed Sep 17, 2014 6:06 am

Thanks Socaltom! Got it up and running! That was a lot painless than bftpd.

So far, i can add a user and it automatically creates it's own home directory. If it aint to much to ask, how to I .. lets say user webmaster use /srv/http as part of his directory?

I'm having difficulty in understanding if I still have to create a virtual user and chown /srv/http to it.
metalshark
 
Posts: 21
Joined: Tue Sep 02, 2014 12:17 am

Re: How to install BFTPD server

Postby Socaltom » Wed Sep 17, 2014 12:00 pm

$this->bbcode_second_pass_quote('metalshark', 'T')hanks Socaltom! Got it up and running! That was a lot painless than bftpd.

So far, i can add a user and it automatically creates it's own home directory. If it aint to much to ask, how to I .. lets say user webmaster use /srv/http as part of his directory?

I'm having difficulty in understanding if I still have to create a virtual user and chown /srv/http to it.

Option 1) change the home directory of user webmaster to be /srv/http.( I use webmin to manage users etc, it's easygoing and you don't have to memorize a bunch of commands)
Option 2) symlink ln -s /srv/http/ /home/webmaster/http/ ( if you do this it will create a virtual directory ~/http but it's really /srv/http/)

What I did was create user FTP, and use that for the anonymous transfers. If you have a registered user, and you turn on the chowning, it locks them in their home directory. I recommend doing the FTP user and the chowning.
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: How to install BFTPD server

Postby metalshark » Wed Sep 17, 2014 6:24 pm

@Socaltom,

INVALUABLE INFORMATION TOM! THANK YOU SO MUCH! (yes, im shouting people)...
I learned 4 things that I think I wouldn't even learn with in years of searching! Thank you so much! I will go try it out as soon as i get my server back up again. My going bad USB Hard Disk just went VERY BAD. Lol

Thank you so much Socaltom.
metalshark
 
Posts: 21
Joined: Tue Sep 02, 2014 12:17 am

Re: How to install BFTPD server

Postby metalshark » Wed Sep 17, 2014 6:26 pm

BTW... how come you guys can quote and if I try quoting anybody it says "This topic is too old to reply, so, it's locked now. Thanks."??? just asking, lol.
metalshark
 
Posts: 21
Joined: Tue Sep 02, 2014 12:17 am

Re: How to install BFTPD server

Postby Socaltom » Wed Sep 17, 2014 7:22 pm

I always paste the text I want to quote, and then select it, then press the quote button above the reply text box.

$this->bbcode_second_pass_quote('', 'L')ike this
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Next

Return to ARMv5

Who is online

Users browsing this forum: No registered users and 0 guests