Sponsored Content
Special Forums UNIX and Linux Applications PureFTPD - UnixAuthentication Post 302289121 by Sergiu-IT on Wednesday 18th of February 2009 07:23:15 PM
Old 02-18-2009
Java PureFTPD - UnixAuthentication

Hello, guys!

I have a web server that uses cPanel for management and I installed PureFTPD as FTP server. Everything works fine, except one small detail. I have another user that is not created by cPanel (I created it myself using adduser) and I want to be able to connect to FTP using this username. For doing this, on other servers, I set UnixAuthentication to yes in pure-ftpd.conf. I did it, I restarted the FTP server, but it still doesn't allow me to connect using that username. It gives me this message: 530 Login authentication failed.

If I try to connect using a username created by cPanel it works, but not with this username.

Any ideeas on where the problem could be located?

In case that it necesarely, the server runs on FreeBSD 6.2-RELEASE and the pureftpd version is 1.0.21_2.
 
ftphosts(4)							   File Formats 						       ftphosts(4)

NAME
ftphosts - FTP Server individual user host access file SYNOPSIS
/etc/ftpd/ftphosts DESCRIPTION
The ftphosts file is used to allow or deny access to accounts from specified hosts. The following access capabilities are supported: allow username addrglob [addrglob...] Only allow users to login as username from host(s) that match addrglob. deny username addrglob [addrglob...] Do not allow users to login as username from host(s) that match addrglob. A username of * matches all users. A username of anonymous or ftp specifies the anonymous user. addrglob is a regular expression that is matched against hostnames or IP addresses. addrglob may also be in the form address:netmask or address/CIDR, or be the name of a file that starts with a slash ('/') and contains additional address globs. An exclamation mark (`!') placed before the addrglob negates the test. The first allow or deny entry in the ftphosts file that matches a username and host is used. If no entry exists for a username, then access is allowed. Otherwise, a matching allow entry is required to permit access. EXAMPLES
You can use the following ftphosts file to allow anonymous access from any host except those on the class A network 10, with the exception of 10.0.0.* IP addresses, which are allowed access: allow ftp 10.0.0.* deny ftp 10.*.*.* allow ftp * 10.0.0.* can be written as 10.0.0.0:255.255.255.0 or 10.0.0.0/24. FILES
/etc/ftpd/ftphosts ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWftpr | +-----------------------------+-----------------------------+ |Interface Stability |External | +-----------------------------+-----------------------------+ SEE ALSO
in.ftpd(1M), ftpaccess(4), attributes(5) SunOS 5.10 1 May 2003 ftphosts(4)
All times are GMT -4. The time now is 02:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy