
12th December 2009, 19:13
|
|
Senior Member
|
|
Join Date: Jan 2008
Location: Syros, Greece
Posts: 118
Thanks: 9
Thanked 7 Times in 7 Posts
|
|
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.
|

13th December 2009, 14:13
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,591 Times in 2,443 Posts
|
|
Any errors in your logs?
|

13th December 2009, 14:19
|
|
Senior Member
|
|
Join Date: Jan 2008
Location: Syros, Greece
Posts: 118
Thanks: 9
Thanked 7 Times in 7 Posts
|
|
Quote:
Originally Posted by falko
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.
|

14th December 2009, 15:41
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,182 Times in 3,201 Posts
|
|
Are ythere any pending jobs in the ispconfig jonbqueue in the monitor module? Does the shell user exists in /etc/passwd?
|

14th December 2009, 15:58
|
|
Senior Member
|
|
Join Date: Jan 2008
Location: Syros, Greece
Posts: 118
Thanks: 9
Thanked 7 Times in 7 Posts
|
|
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.
|

16th December 2009, 20:14
|
|
Senior Member
|
|
Join Date: Jan 2008
Location: Syros, Greece
Posts: 118
Thanks: 9
Thanked 7 Times in 7 Posts
|
|
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.
|

17th December 2009, 07:52
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,182 Times in 3,201 Posts
|
|
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/
Last edited by till; 17th December 2009 at 07:55.
|

17th December 2009, 09:12
|
|
Senior Member
|
|
Join Date: Jan 2008
Location: Syros, Greece
Posts: 118
Thanks: 9
Thanked 7 Times in 7 Posts
|
|
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.
|

17th December 2009, 09:26
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,182 Times in 3,201 Posts
|
|
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
|

17th December 2009, 11:22
|
|
Senior Member
|
|
Join Date: Jan 2008
Location: Syros, Greece
Posts: 118
Thanks: 9
Thanked 7 Times in 7 Posts
|
|
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.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 14:25.
|
|
Recent comments
14 hours 8 min ago
17 hours 4 min ago
18 hours 17 min ago
19 hours 41 min ago
21 hours 19 min ago
22 hours 47 min ago
1 day 1 min ago
1 day 15 hours ago
1 day 16 hours ago
1 day 20 hours ago