Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Jan 23, 2005 10:45 pm 
Offline
Senior Newbie
User avatar

Joined: Thu Dec 23, 2004 1:51 am
Posts: 8
Website: http://www.dishkuvek.org
AOL: C+Dishkuvek
Location: Richmond, VA
I've never seen this before. I setup my ftp daemon, I've tried a few at this point, all of them result in the same. When I try to log in as a local user, using the correct password, it gives me a 530 password is incorrect. This happens everytime, with every user.

Any ideas?


Top
   
 Post subject:
PostPosted: Sun Jan 23, 2005 10:55 pm 
Offline
Senior Newbie
User avatar

Joined: Thu Dec 23, 2004 1:51 am
Posts: 8
Website: http://www.dishkuvek.org
AOL: C+Dishkuvek
Location: Richmond, VA
Ok, seconds later I've figured it out. :oops:

When adding users with "useradd" I was not specifying login shell, so in /etc/passwd the shell area was blank. Because of this, the ftp daemon was not letting me log in.

I am going to fire my bbgun now.


Top
   
 Post subject:
PostPosted: Mon Jan 24, 2005 11:02 am 
Offline
Senior Member

Joined: Fri Feb 13, 2004 11:30 am
Posts: 140
Location: England, UK
Good going for working it out. :)

If that hadn't worked, I would have suggested looking in /etc/ftpusers to see if it was listed there. Counterintuitively, anyone listed in /etc/ftpusers will not be able to use FTP or SSH, etc. I'm not quite sure why the file's called that myself, but, yeah.

By the way, the other thing to watch out for is that if you specify a login shell that's not listed in /etc/shells, most FTP servers will do the same as you described and not let the user log in - so just putting /bin/false as a login shell won't help unless it's also listed in /etc/shells.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group