Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Mine is just an example, you'll actually want to compare it with the documentation on the proftpd.org website and find one to suit your needs.
The standalone however shoudn't be causing you errors, more importantly, you should be able to view those errors in your /var/log/syslog or /var/log/messages file. Look also at your /var/log/proftpd.log file for errors specific to proftpd itself.
I am having trouble with PAM, in the log file I get an invalid password for the user.
Is this PAM config directing to another file call ftpusers?
auth required /lib/security/pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
auth required /lib/security/pam_pwdb.so shadow nullok
# This is disabled because anonymous logins will fail otherwise,
# unless you give the 'ftp' user a valid shell, or /bin/false and add
# /bin/false to /etc/shells.
#auth required /lib/security/pam_shells.so
account required /lib/security/pam_pwdb.so
session required /lib/security/pam_pwdb.so
/etc/ftpusers does not exist? That's ok, just odd. You can create it, inside you will need to define which users should not/cannot login via ftp; those such as root and bin should be listed.
As for the pam error, how are you creating your users? I am not that familiar with PAM to troubleshoot with it, however it may be that you need to use pam to add the users to a pam file somewhere. See if you've got man pam, or search www.google.com/linux for more info on PAM to see if you can find out if that's your problem.
That's a Directory call I believe, look for a section like this:
Inside there add:
This will allow the users to write in that directory. If you want them to have all rights, you can take away the <Limit WRITE> directives, and just have AllowAll inside the directory brackets, like this: