Which ftpd are you trying to use (wuftpd, vsftpd, ...)?Maybe you are trying to set up a chroot'd ftpd, and don't have the commands 'ls', 'pwd', etc available in the chroot'd $PATH? Or the uid the ftpd is running as may not have it's $PATH properly declared?
Just shots in the dark. I haven't ever set up an ftp server 'for real'. Just some experiments and kludges to get some files moved around.
Because you are running in a chroot environment the home directory for the user is the absolute parent directory (/) for that user. Therefore you need to provide the needed commands like ls, rm, etc. as the real system commands (/bin) aren't reachable.
The easiest way around it is to see if you have anonftp installed, find the home for that (probably somewhere like /var/ftp as it is in the case of Redhat 8) and copy the /bin, /etc/ and /lib dirs to your chroot directory. You may need to alter the passwd and group files found in this specific /etc dir.
IBM Certified Confused - MQSeries
IBM Certified Flabbergasted - AIX 5 pSeries System Administration
MS Certified Windblows Rebooter
i think am beginning to understand what the real problem is..
users can login fine, but when they try to issue in commands to interact with files, they don't get any response... it seems like the user doesn't have sufficient permissions to list the files in his home directory..
by the way, authentication is off a MySQL database, which has the username, password, shell type and home directory..
is it possible the user can't list the files in the directory, because of permission problems..?.. if so, how can this be rectified..?..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.