I can't install vsftp3.0.0 in opensuse 12.3 but that is success for opensuse12.2 help me

i just install opensuse 12.3 in vmware
but install vsftp in opensuse is diffcult
my steps as:

  1. zypper in vsftpd

  2. vim /etc/vsftpd.conf
    listen=YES
    local_enable=YES
    anonymous_enable=NO

  3. vim /etc/sysconfig/SuSEFirewall2
    FW_SERVICES_EXT_TCP=“ssh ftp”

  4. vim /etc/ftpusers
    allow root log in ftp
    add ‘#’ to ‘root’ before

  5. /etc/init.d/vsftpd start

result is :

bogon:/etc # ftp 127.0.0.1
Connected to 127.0.0.1.
220 (vsFTPd 3.0.2)
Name (127.0.0.1:root): root
331 Please specify the password.
Password:
530 Login incorrect.
ftp: Login failed.
ftp>

but above steps to opensuse 12.2 is success.

i don’t kown why?
help me
thank you help me for friends

On Tue, 30 Apr 2013 02:16:02 +0000, john jason h wrote:

> 4) vim /etc/ftpusers allow root log in ftp add ‘#’ to ‘root’ before

I would very strongly advise against this. But if you insist, be aware
that you’re sending the password in the clear over the network. Do that
and then restart the daemon - the change won’t take effect without a
daemon restart.

But your subject line is confusing, because you did install successfully,
you just didn’t get it configured.

On 12.3, the configuration may be different than on 12.2, so you might
also look to see if there’s an /etc/vsftpd/ directory that has
configuration items in it.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

i am sorry for my subject “I can’t install vsftp3.0.0 in opensuse 12.3 but that is success for opensuse12.2 help me” this subject is confuse, and thank you for jim answer my question,I first write quest in this bbs ,i am question is that:

I install vsftp in opensuse 12.3 and steps:

  1. zypper in vsftpd

  2. vim /etc/vsftpd.conf
    listen=YES
    local_enable=YES
    anonymous_enable=NO

  3. vim /etc/sysconfig/SuSEFirewall2
    FW_SERVICES_EXT_TCP=“ssh ftp”

  4. vim /etc/ftpusers
    allow root log in ftp
    add ‘#’ to ‘root’ before

  5. /etc/init.d/vsftpd start

Althougth 4) is unsafe ,I am Beginner and opensuse in vmware.

according above steps the result is that :
bogon:/etc # ftp 127.0.0.1
Connected to 127.0.0.1.
220 (vsFTPd 3.0.2)
Name (127.0.0.1:root): root
331 Please specify the password.
Password:
530 Login incorrect.
ftp: Login failed.
ftp>

alse

ruths@bogon:/etc> ftp 127.0.0.1
Connected to 127.0.0.1.
220 (vsFTPd 3.0.2)
Name (127.0.0.1:root): ruths
331 Please specify the password.
Password:
530 Login incorrect.
ftp: Login failed.
ftp>

there’s an /etc/vsftpd/ directory is no exist.
and vsftpd in /etc/init.d/vsftpd
vsftpd.conf in /etc/

my question: vsftpd install is success but local user can‘t log in ftp.
according above steps 1,2,3,4,5 to opensuse12.2 local user log in ftp that is success
thank for all,i sorry for my english is bad .

Please, to make your posts better readable, use the CODE tags around the computer text parts of it. It is the # button in the toolbar of the post editor.

i find same trail in google,this is linux 3.7 kernel bug.and in /var/log/warn:vsftpd[1]:
PAM audit_log_acct_message() failed: Operation not permitted
Please fix

On Tue, 30 Apr 2013 06:36:02 +0000, john jason h wrote:

> Althougth 4) is unsafe ,I am Beginner and opensuse in vmware.

All the more reason to start by learning good security practices, which
includes not opening root up to abuse by sending the password in the
clear.

Start by learning good security practices, rather than starting with poor
practices and then having to unlearn them. :slight_smile:

I see that you later tried a different user ID - does that user exist in
the local system?

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

thanks agains jim, i already tried a different user ID rather than root:


ruths@bogon:/etc> ftp 127.0.0.1
Connected to 127.0.0.1.
220 (vsFTPd 3.0.2)
Name (127.0.0.1:root): ruths
331 Please specify the password.
Password:
530 Login incorrect.
ftp: Login failed.
ftp> 

I thinks that is trails:
https://forums.opensuse.org/english/get-technical-help-here/64-bit/484289-op12-3-unable-login-vsftp.html and [Bug 809858] New: vsftpd fails to authenticate login. "PAM audit_log_acc](http://lists.opensuse.org/opensuse-bugs/2013-03/msg02726.html)

above that is as same as I encounter a problem.

On Wed, 01 May 2013 01:26:03 +0000, john jason h wrote:

> thanks agains jim, i already tried a different user ID rather than root:

Yes, I saw that and asked for confirmation that that user exists - looks
like it does.

> I thinks that is trails:
> http://tinyurl.com/cu6fj58 and ‘[Bug 809858] New: vsftpd fails to
> authenticate login. "PAM audit_log_acc’
> (http://lists.opensuse.org/opensuse-bugs/2013-03/msg02726.html)
>
> above that is as same as I encounter a problem.

After your attempted login, what do you see in /var/log/messages? (We
don’t need to see the entire file, just the few lines before the end
after the login attempt.

BTW, when posting computer output, please use code tags, “#” button in
the advanced post editor.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

thanks jim again my answer, I tried agains login in vsftp and results is failure as in the previous, I looks in /var/log/messages that result:


2013-05-02T10:40:52.489527+08:00 linux-lxq6 vsftpd[1]: PAM audit_log_acct_message() failed: Operation not permitted
2013-05-02T10:40:52.492042+08:00 linux-lxq6 vsftpd[1]: [ruths] FAIL LOGIN: Client "::ffff:127.0.0.1"

above display as same as , that is likely to linux kernel 3.7 bug
> I thinks that is trails:
> [op12.3] unable to login vsftp](http://tinyurl.com/cu6fj58) and ‘[Bug 809858] New: vsftpd fails to
> authenticate login. "PAM audit_log_acc’
> ([Bug 809858] New: vsftpd fails to authenticate login. "PAM audit_log_acc](http://lists.opensuse.org/opensuse-bugs/2013-03/msg02726.html))

>

On Thu, 02 May 2013 02:46:03 +0000, john jason h wrote:

> above display as same as , that is likely to linux kernel 3.7 bug

Sounds like that’s the problem - you’ll have to wait for a fix to be
issued, it seems.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C