VSFTPD configuration problems with 12.04

2,201

Solution 1

In vsftpd.conf

Make the following change : pam_service_name=ftp

Save your change and restart the ftp server.

Solution 2

There are several Reason why you may get this reason.

Firewall-->>Tcp_wrapper-->>PAM-->>SElinux-->>FTPService-->> File.

  1. First Check if the given user is blocked or not in /etc/vsftpd/ftpusers /etc/vsftpd/user_list

  2. Check SElinux Context or Boolean for the Same.

  3. Check in PAM directory file. /etc/pam.d/vsftpd

auth required pam_shells.so

if user is not having required shell like in /etc/shells then it will give same error check getent passwd username match given shell with /etc/shells.

Share:
2,201

Related videos on Youtube

theJava
Author by

theJava

Updated on September 18, 2022

Comments

  • theJava
    theJava almost 2 years
    <?xml version="1.0" encoding="UTF-8"?>
    <shape xmlns:android="http://schemas.android.com/apk/res/android"
                android:shape="rectangle">    
        <solid android:color="#EAEAEA"/>    
    
        <corners android:bottomLeftRadius="5dip"
                    android:topRightRadius="5dip"
                    android:topLeftRadius="5dip"
                    android:bottomRightRadius="5dip"
        />
    </shape>
    

    How can i set my gradient image as background for my button. I see a property gradient, but cannot see any attributes holding background in it.

    Note: I am Very new Android development.

  • Chris Edwards
    Chris Edwards over 11 years
    Thanks very much! You wouldn't believe how much of a pain this has been!
  • frhd
    frhd over 9 years
    Care to elaborate on your solution?
  • Oliver Dixon
    Oliver Dixon almost 9 years
    Where can I find vsftpd.conf..
  • Chris1804505
    Chris1804505 about 8 years
    This fixed my problem! WTF. Why is this not the default service name, uhh? What is a PAM service?
  • Ascherer
    Ascherer almost 8 years
    this ends up giving me: 500 OOPS: priv_sock_get_result Login failed. 421 Service not available, remote server has closed connection
  • Gonzalo Aguilar Delgado
    Gonzalo Aguilar Delgado over 7 years
    In Ubuntu 16.10 the name of the pam file is correct. See me comment below. Don't change it, please!