LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-13-2005, 01:24 AM   #1
drzigman
LQ Newbie
 
Registered: Jan 2003
Distribution: Slackware
Posts: 19

Rep: Reputation: 0
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
 
Old 06-13-2005, 02:16 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,937

Rep: Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330
Post your proftpd.conf here, so we can help you.
As a first thought do other users have a home directory?
 
Old 06-13-2005, 02:19 AM   #3
thermite_1033
Member
 
Registered: May 2004
Location: Antwerp, Belgium
Distribution: slackware
Posts: 112

Rep: Reputation: 18
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
 
Old 06-13-2005, 03:21 AM   #4
drzigman
LQ Newbie
 
Registered: Jan 2003
Distribution: Slackware
Posts: 19

Original Poster
Rep: Reputation: 0
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?

Last edited by drzigman; 06-13-2005 at 03:32 AM.
 
Old 06-13-2005, 03:50 AM   #5
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,937

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I can not logon to my FTP. . . Spreegem Debian 1 06-04-2005 04:43 PM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM
restricting logon hours to users? FiveFlat Linux - Networking 2 01-18-2004 01:43 PM
FTP Users are able to Traverse directories up to the root of my server stingay Red Hat 6 10-25-2003 03:22 AM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 08:23 AM


All times are GMT -5. The time now is 10:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration