Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th December 2009, 19:13
baskin baskin is offline
Senior Member
 
Join Date: Jan 2008
Location: Syros, Greece
Posts: 118
Thanks: 9
Thanked 8 Times in 8 Posts
Default Users created but cannot login (FTP and shell)

I have an ISPConfig 3 server with opensuse 11.1.

Until now i had only one client with one site, one ftp account and one shell account. Everything is working nice (I cannot login to stats and i have post a thread for that, that's my only problem).

I have created a second client and a site for that client. I have also created an ftp user and a shell user for that site.

Neither shell or ftp user can login. I'm getting a "Access denied" on shell user and "Login failed" on ftp user.

I have deleted all the users and the site and recreated from scratch multiple times but the problem persists.

What should i check?

Thanks in advance.
Reply With Quote
Sponsored Links
  #2  
Old 13th December 2009, 14:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Any errors in your logs?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 13th December 2009, 14:19
baskin baskin is offline
Senior Member
 
Join Date: Jan 2008
Location: Syros, Greece
Posts: 118
Thanks: 9
Thanked 8 Times in 8 Posts
Default

Quote:
Originally Posted by falko View Post
Any errors in your logs?
What log should i check?

I have these on /var/log/messages:

Code:
Dec 12 20:04:36 aragorn sshd[1328]: Invalid user kernelitshell from 10.215.4.227                          
Dec 12 20:04:39 aragorn sshd[1328]: error: PAM: User not known to the underlying authentication module for illegal user kernelitshell from 10.215.4.227                                                             
Dec 12 20:04:39 aragorn sshd[1328]: Failed keyboard-interactive/pam for invalid user kernelitshell from 10.215.4.227 port 41921 ssh2                                                                                
Dec 12 20:04:43 aragorn sshd[1328]: error: PAM: User not known to the underlying authentication module for illegal user kernelitshell from 10.215.4.227                                                             
Dec 12 20:04:43 aragorn sshd[1328]: Failed keyboard-interactive/pam for invalid user kernelitshell from 10.215.4.227 port 41921 ssh2                                                                                
Dec 12 20:04:44 aragorn sshd[1328]: error: PAM: User not known to the underlying authentication module for illegal user kernelitshell from 10.215.4.227                                                             
Dec 12 20:04:44 aragorn sshd[1328]: Failed keyboard-interactive/pam for invalid user kernelitshell from 10.215.4.227 port 41921 ssh2
Code:
Dec 13 15:05:10 aragorn pure-ftpd: (?@10.215.4.227) [WARNING] Authentication failed for user [kernelitftp]
Dec 13 15:05:19 aragorn pure-ftpd: (?@10.215.4.227) [WARNING] Authentication failed for user [kernelitftp]
Dec 13 15:05:37 aragorn pure-ftpd: (?@10.215.4.227) [WARNING] Authentication failed for user [kernelitftp]
Dec 13 15:08:28 aragorn pure-ftpd: (?@10.215.4.227) [WARNING] Authentication failed for user [kernelitftp]

Last edited by baskin; 13th December 2009 at 14:58.
Reply With Quote
  #4  
Old 14th December 2009, 15:41
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,951
Thanks: 825
Thanked 5,362 Times in 4,209 Posts
Default

Are ythere any pending jobs in the ispconfig jonbqueue in the monitor module? Does the shell user exists in /etc/passwd?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 14th December 2009, 15:58
baskin baskin is offline
Senior Member
 
Join Date: Jan 2008
Location: Syros, Greece
Posts: 118
Thanks: 9
Thanked 8 Times in 8 Posts
Default

Jobqueue is empty and the user does not exist in /etc/passwd.

It seems that ISPConfig does not create the user. Regarding the FTP user it seems that it is created but with wrong password.

Thanks.
Reply With Quote
  #6  
Old 16th December 2009, 20:14
baskin baskin is offline
Senior Member
 
Join Date: Jan 2008
Location: Syros, Greece
Posts: 118
Thanks: 9
Thanked 8 Times in 8 Posts
Default

Is there a specific log that has some info at the time of user creation?

I mean if i create the user, is there a log where the executed commands are logged, so i can check there.

I'm asking because this is a major problem and it doesn't has an obvious solution.

I have also created a third client with one site and tried to create a shell user for that client. The result is the same. I can see the insert shell_user job in the jobqueue. The job disappears after a while but no user is created although is listed in the ispconfig's shell users list. In /etc/passwd the user does not exists.

Thanks.

Last edited by baskin; 16th December 2009 at 20:53.
Reply With Quote
  #7  
Old 17th December 2009, 07:52
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,951
Thanks: 825
Thanked 5,362 Times in 4,209 Posts
Default

FTP users are just in the database, there are no commands executed when you create a FTP user.

Also do not mix up shall and FTP users. You canm not login with the shell users with FTP. You have to use a ssh client like putty to login with shell users or use sftp with a client like winscp.

if you want to debug your FTP logins, enable debugging in pure-ftpd:

http://www.faqforge.com/linux/contro...-debian-linux/

and you can enable it also in ispconfig:

http://www.faqforge.com/linux/contro...n-ispconfig-3/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 17th December 2009 at 07:55.
Reply With Quote
  #8  
Old 17th December 2009, 09:12
baskin baskin is offline
Senior Member
 
Join Date: Jan 2008
Location: Syros, Greece
Posts: 118
Thanks: 9
Thanked 8 Times in 8 Posts
Default

I know very well the difference between shell and ftp users.

I'm having problem with both of them on all newly created clients (except the first one that was created after initial installation of the ispconfig).

I will enable debug on pure-ftpd, but what about with the shell's users problem. You understand that this problem makes ispconfig useless.

I will enable debug on ispconfig and report but if something useful appears.

It is a major problem and i think it happened after the update to 3.0.1.6. My system is useless as it is now so that's why i'm eager to find a solution.

Regarding ftp users i have recreated the user (and several others) multiple times but always i'm getting a wrong password error.
Reply With Quote
  #9  
Old 17th December 2009, 09:26
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,951
Thanks: 825
Thanked 5,362 Times in 4,209 Posts
Default

Ok, its the first time that you mentioned now that it happened after an update. You should really give the full information when you want to get help!

please post the output of:

grep sshusers /etc/group
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 17th December 2009, 11:22
baskin baskin is offline
Senior Member
 
Join Date: Jan 2008
Location: Syros, Greece
Posts: 118
Thanks: 9
Thanked 8 Times in 8 Posts
 
Default

I haven't mention the update because i'm not sure if the problem occured after the latest update. I had until now only one client, one ftp user and one shell user and i have performed all the updates since the initial install of ispconfig 3.0 (the client and the users were created just after the initial install).

grep sshusers /etc/group returns nothing.

Regarding the ftp users, when i edit the problematic new user and change his password, i can see with phpmyadmin that his password is changing in the ispconfig's database (although is encrypted but i can see characters changing). Pure-ftpd continues to report that the password is wrong. It seems like pure-ftpd doesn't "look" in the database.

Thanks.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[bug] ftp login and no proper removal nikro Developers' Forum 3 24th December 2008 14:56
Proftpd Help (incorrect login) Onor HOWTO-Related Questions 1 29th October 2007 14:04
ftp shell script mcrosby Programming/Scripts 8 9th January 2007 15:12
ftp problems tgansert Installation/Configuration 20 27th May 2006 19:06
Allow Multiple FTP Users for site dabro Installation/Configuration 1 24th May 2006 18:11


All times are GMT +2. The time now is 06:30.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.