What can I be doing wrong?

General support questions
Post Reply
xarc
Posts: 49
Joined: 2014/11/14 23:49:14

What can I be doing wrong?

Post by xarc » 2014/11/26 04:25:38

so I installed ProFTPD and webmin. Created a user called "testuser" and put them under "ftp" group. The "testuser" has no login required. I added them to the default server at port 550. I ran a local machine with Filezilla and the following error message:

Code: Select all

Status:	Connection established, waiting for welcome message...
Response:	220 FTP Server ready.
Command:	USER testuser
Response:	331 Password required for testuser
Command:	PASS 
Response:	530 Login incorrect.
Error:	Critical error: Could not connect to server
I did the same with "secureuser" except I gave them a password but for some reason Webmin threw it under "pre-encrypted" password.

What can I possibly doing wrong or missing?

Samba works fine, I did end up disabling SELinux cause it just gave a lot of trouble were it would block allowed users.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: What can I be doing wrong?

Post by gerald_clark » 2014/11/26 04:32:00

Neither proftpd nor webmin are supplied by or supported by CentOS.
CentOS supplies vsftpd.

xarc
Posts: 49
Joined: 2014/11/14 23:49:14

Re: What can I be doing wrong?

Post by xarc » 2014/11/26 04:36:41

I tried working with vsftpd but it did not even want to start in the first place.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: What can I be doing wrong?

Post by gerald_clark » 2014/11/26 05:03:49


User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: What can I be doing wrong?

Post by TrevorH » 2014/11/26 09:06:10

If you're running an ftp server then you almost certainly want to go the extra mile to make selinux work. Start by not disabling it, just put it into permissive mode so it logs denials but then allows them anyway. Then you have some logs to work with to fix the problems.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

xarc
Posts: 49
Joined: 2014/11/14 23:49:14

Re: What can I be doing wrong?

Post by xarc » 2014/11/26 13:53:41

TrevorH wrote:If you're running an ftp server then you almost certainly want to go the extra mile to make selinux work. Start by not disabling it, just put it into permissive mode so it logs denials but then allows them anyway. Then you have some logs to work with to fix the problems.
SELinux got disabled was because it was messing up Samba not the FTP server, setting it to passive mode still did nothing cause beyond sending a ping to the server I could not see it at all, regardless if it was Windows Machine or Ubuntu Machine.

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: What can I be doing wrong?

Post by TrevorH » 2014/11/26 19:54:55

If it still didn't work with selinux in permissive mode then the problem was not selinux.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

xarc
Posts: 49
Joined: 2014/11/14 23:49:14

Re: What can I be doing wrong?

Post by xarc » 2014/11/27 00:13:49

I will relook at SELinux but I have reinstalled vsFTPD but vsFTPD is running just not being found by Webmin, not sure if anyone on here who can help:

Webmin gives the following error:

Could not find the vsftpd.conf file. Please check your Module Configuration.

But VSFTPD is running and the file is in that directory:

vsftpd.service - Vsftpd ftp daemon
Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; enabled)
Active: active (running) since Wed 2014-11-26 17:53:36 CST; 16min ago
Main PID: 4216 (vsftpd)
CGroup: /system.slice/vsftpd.service
└─4216 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: What can I be doing wrong?

Post by gerald_clark » 2014/11/27 00:19:25

Webmin is not a CentOS program.

Post Reply