LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   New users can't logon to FTP server... (https://www.linuxquestions.org/questions/linux-general-1/new-users-cant-logon-to-ftp-server-332966/)

drzigman 06-13-2005 01:24 AM

New users can't logon to FTP server...
 
Hey guys, sorry to bother everyone but I'm having a problem getting users to logon to my proftpd server.

For some reason the only user that can log on is my normal user (i.e. the one I use when I'm not root) but if I try to log on with any other user I get a 530 login incorrect login failed error. I have my proftpd.conf set up so that...
Quote:

#Set the user and group under which the server will run.
User nobody
Group ftp
And I have my newly added users in the group ftp.

Two issues, one as I said no one can log on other then drzigman... And two, why is it letting drzigman log on? He's not in the ftp group!?!

So far I've tried adding a new user to the group users, but that didn't work either. I'm terribly sorry to bother everyone, but would appreciate some guidence as to what could be the problem. If I can post anything else that might help please just let me know and I'd be happy to. Thank you for taking the time to read through this and thank you in advance for any assitance you may be able to provide!
-Robert

bathory 06-13-2005 02:16 AM

Post your proftpd.conf here, so we can help you.
As a first thought do other users have a home directory?

thermite_1033 06-13-2005 02:19 AM

every user on the box will be able to log on except you excluded them in the config

your problem is that a user to be able to log on, has to have a vallid shell

drzigman 06-13-2005 03:21 AM

Thanks! Giving the user a valid shell worked! Just one question though... If I give every user a valid shell, wouldn't that permit them to log on to my machine and do things other then just FTP? Is there any way around that?

bathory 06-13-2005 03:50 AM

There is a dummy shell (usually /bin/false) which prevents logins via telnet etc.


All times are GMT -5. The time now is 12:54 AM.