CentOS 5 :: Unable To Log In With Proftpd. Connects But Won't Authenticate?
May 16, 2010
I am still pretty new to centos, and I am having some trouble figuring out why after installing proftpd I can't log in. I am running Centos 5.4 i386. I have gone through and installed the rpm forge and updated yum. I have installed proftpd.i386 0:1.3.2-1.el5.rf With a user name I know works through SSH I am unable to connect to the server on port 21. It makes a connection, but the authentication fails saying that the user name and or password is incorrect.
I opened port 21 to my server on my router, and Just for testing, I have disabled iptables. In the /var/log/secure log I find the following error when I try to connect. [ps: I changed the user name in the log to USERNAME to avoid giving out my id. Also changed the ip I am connecting from to MY_IP_ADDRESS]
May 15 22:43:38 webserver proftpd: pam_unix(proftpd:session): session opened for user USERNAME by (uid=0)
May 15 22:43:38 webserver proftpd: Deprecated pam_stack module called from service "proftpd"
So far, I've been able to get my Box (Centos 5.3) authenticate users through LDAP. My next plan was to automount their home directory from our NAS device.But I'm struggling getting autofs talking to the LDAP Server.My Config Files:
/etc/ldap.conf [root@tmplt_CentOS-5 ~]# egrep -v '^#|^$?' /etc/ldap.conf base ou=intern,o=zde,dc=simiangroup,dc=com
I am attempting to configure vsftpd to allow anonymous users to PUT files into a shared incoming directory. This would be like a dropbox for my customers. Ideally, the incoming directory's contents would not be viewable by the users.
I believe that refused connection is due to the PAM configuration for vsftpd.
May 4 08:03:16 WSVM-S1-1 sshd[1512]: Invalid user anonymous from xxx.xxx.xxx.xxx May 4 08:03:16 WSVM-S1-1 sshd[1513]: input_userauth_request: invalid user anonymous May 4 08:03:16 WSVM-S1-1 sshd[1512]: pam_unix(sshd:auth): check pass; user unknown
proftpd-basic{a} The following partially installed packages will be configured: proftpd proftpd-mod-ldap proftpd-mod-mysql proftpd-mod-pgsql 0 packages upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
I am trying to install proftpd from source with the mod_clamav-0.10. I am using CentOS 5.5. I would love to get proftpd with clamav working. I had it installed previously through yum and uninstalled it before trying to do reinstall it through source. yum erase proftpd
A simple FTP server which allows me to acces the /var/www/html directory to upload new files for my apache webserver.
What are my problems:
When trying to login it says the following:
***Begin*** [root@ICT2-Gateway ~]# ftp 127.0.0.1 Connected to 127.0.0.1. 220 FTP Server ready. 500 AUTH not understood
[Code]....
As you can see this has nothing to do with faulty firewall settings since i'm only trying this locally. Futhermore the password is 100% correct (and keyboard layout).
Since I've changed alot in my config file it thought it's not worth mentioning here, I'm reverting back to default.
I installed netatalk for Linux in Fedora 10. I managed to get the service starting correctly at every boot and from Linux side everything looks good. I even manged to tweak avahi-daemon to advertise my server on the network so would show in Finder sidebar (with a snazy tux icon). But when I try to connect to the server it asks me for username and password (as it should), but my password doesn't work. I changed my password, I even gave it a simple one to rule out possibility of "fat-finger"-ing. No success. I tried many options in my afpd.conf file. Here is the latest code...
I switched to the b43xx (lp-phy) driver, as opposed to the broadcom STA driver which I previously had. I have dell 8312b/g lp-phy(mini) wireless card.
I have the wireless detection, but when I attempt to connect to Fios WiFi it continuously asks for my WEP (I have the correct WEP and I have typed it in correctly) and fails to connect.
I've read about the driver and firmware on linuxwireless and kernel.wireless. org.
http://pastebin.com/w44Xbgw3 (lspci -nnk output) http://pastebin.com/C5BDhgZ9 (iwconfig output - this printed while trying to access the network)
We're still using an NT Domain Server, and Samba is already configured properly. But the problem is if the shared folder is configured in samba to be accessed by group and not the domain username, authentication fails even if the user is member of the group.
I have CentOS 5.4 running my file server. I finally got proftpd to work. I configured logwatch to send me email on a daily basis however I would like to be sent an email immediately when the proftpd log file changes. Is this possible?
I may be a beginner to Ubuntu 10.10, but I'm fairly certain that this is weird: I have had no trouble logging into my Ubuntu 10.10 netbook until this morning. Now I am unable to get past the login screen. It says that there is an Authentication Failure, which is bogus. Not only should the password work, but it does in the Terminal. I am able to login to the terminal and gain root access.
I can even change my unix password, but no matter what I try I can't get to my desktop. I did run into a major issue with a frozen program. Rather than reboot, I tried to close it using the kill command. What ended up happening was that all that remained was my wallpaper, probably a bad move on my part, but I'm a rookie. I think I killed all running applications. This happened last night... so probably related.
I'm trying to expand my Courier+MySQL+Postfix+PostfixAdmin server to use SASL logins on Postfix so I can relay on my server. After following several guides I still can't get it to work: Postfix logs show the user transcript and end with "Authentication failure" but it does not tell me what told it that the login failed. The messages log show this:
Feb 19 22:48:55 sportlaan-server saslauthd[7254]: do_auth : auth failure: [user=berend] [service=smtp] [realm=mydomain.com] [mech=pam] [reason=PAM auth error] Which I don't get because I don't think it should be using PAM... I think...
The setup is similar to this one: http://www.howtoforge.org/virtual_users_postfix_courier_mailscanner_clamav_centos_p6 My SASL config has this in it: /usr/lib/sasl2/smtpd.conf pwcheck_method: saslauthd log_level: 3 authdaemond_path: /var/spool/authdaemon/socket mech_list: plain login
Friends is there some way to authenticate Microsoft windows users from openldap running on CentOS. I will be very thankful if you provide me step by step procedure.
When ever I have an issue with our LDAP server (which I was able to fix) we see the following errors in /var/log/messages and it causes problems with our services running on that box, e.g. httpd, nrpe, xinetd, etc. Aug 8 17:44:42 hostname httpd: nss_ldap: failed to bind to LDAP server ldap://serveraddress/: Can't contact LDAP server Aug 8 17:44:42 hostname httpd: nss_ldap: reconnecting to LDAP server (sleeping 64 seconds)... I am only wanting to authenticate SSH and Sudo and not services like httpd, nrpe, xinetd etc.
I have proftpd set up on my linux home server. As I have a dynamic IP at home, I am using DynDns.org to provide a hostname for me. I have told proftpd to use this address as the MasqueradeAddress, to allow passive FTP connections through my NAT router.
However, whenever I boot my server, proftpd fails to start saying it cannot resolve this address. I assume this is due to the boot order, as something network or DNS related hasn't started up by then and it can't find the address. How should I deal with this problem? Can I get proftpd to do its checking for the address later on? Or can I change the startup order so that proftpd is started as the final item in the boot sequence?
i'm running fedora 10 Gnome ver 2.24.3 kernel 2.6.30.4
i tried to change my /etc/gdm/custom.conf by adding it the following lines: [daemon] TimedLoginEnable=true TimedLogin=your_mike TimedLoginDelay=0
after reloading gnome it's trying to log through "autologin" but than it give an error message "Unable to authenticate user", i tried using passwd -d on my account but still the error persisted, i saw that some users had this error after a fresh install just with logging into the machine without relation to autologin and they needed to change their password first i tried that as well.
i also tried to edit the /etc/gdm/gdm.schemas file <schema> <key>daemon/AutomaticLoginEnable</key> <signature>b</signature> <default>true</default> <schema> <key>daemon/AutomaticLogin</key> code....
But unfortunately the results were the same, i tried this procedure on a different Fedora 7 and on a virtual ubunto 9.4 machine and is was successful.
I got a problem with my CentOS server. Somebody told me OpenVPN Requires different changes inside my firewall settings. That could be the problem why openvpn wont load..I receive this error on my CentOS panel when im trying to connect into the centos openvpn (with my winxp pc):
I am using centos 5.2 with kernal version "kernel-2.6.18-92.el5" i cant play mp3 songs in any of the players provided..can u help me in installing "vlc" or any other versatile player..thnx in advance.
output of "yum list *videolan*" yum list *videolan* Error: No matching Packages to list
I have an i5 Thinkpad running Windows 7 64-bit. VT is enabled in the BIOS. I have installed vmware server v 2.0.2 but am unable to install Centos 5.5 x86_64 as a guest OS. The steps that I followed are as follows:1. Created a new VM, specifying RHEL 5 64-bit as the intended guest OS (per vmware documentation - Centos is not available as a selection2. Downloaded all 8 iso files for Centos v5.5 64-bit3. Modified the CD/DVD drive to 'connect at power' and use an iso with the path pointing to the x86_64 iso 1 of 8When I power up the VM, the console window displays 'ISOLINUX 3.11 2005-09-02 Copyright (C) 1994-2005 H. Peter Anvin' and nothing else. The installation splash screen never appears. As a test, I downloaded the first of 7 iso files for the 32-bit version of Centos 5.5 and pointed the CD/DVD drive to that iso. In that case, the installation starts as expected. I would really like to get the 64-bit version installed and running.
i am not able to port 8080 on my CentOS VPS server.I have followed all the instuctions as mentioned on iptables wiki page.Also I am able to telnet my ip address and port number, But can not access from browser.
I have two Centos 5 servers one running Asterisk with PHP installed and another sever running as a MySql Database server, at the moment when I try run simple script to see if I can connect to the remote server I get the following error.Quote:Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
I've Got one Problem with My Computer soon after success installation of when the boot-loader ask me to choose OS at CENTOS 5.4, multi boot boot-loader if i choose windows then computer tries to boot windows but fail and give the error message that there is a problem on reading the hard disk, But when i restart it and start with LINUX then computer start successful with no error message, now i do not know what to do cause i need to use Windows and all my programs are in windows..
Once i install the centos in my mac pro, it ask for reboot after completion, and on reboot it does not see the hard drive with centos in it. Any clue to get around this problem?
I'm running Ubuntu 9.10, and am trying to get proftpd to listen on a port other than 22. I've modified the proftpd.conf file, as well as adding the desired port to my /etc/services file, yet if I try anything other than port 22, the connection is refused.