[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nss-mysql-users] pam_mysql and nss_mysql
From: |
Mario Ohnewald |
Subject: |
[Nss-mysql-users] pam_mysql and nss_mysql |
Date: |
Thu, 30 Dec 2004 15:20:51 +0100 (MET) |
Hello List,
this might be a bit OT, but mayb you could give me a hint here...
I set up nss-mysql and i can use su or id users without problems, but when i
try to use ssh, ftp or whatever is pam based, get this:
Dec 30 15:14:26 host sshd[2706]: Illegal user linus from 123.123.172.63
Dec 30 15:14:27 host sshd[2706]: Failed none for illegal user linus from
123.123.172.63 port 32958 ssh2
Dec 30 15:14:30 host sshd[2709]: (pam_unix) check pass; user unknown
Dec 30 15:14:30 host sshd[2709]: (pam_unix) authentication failure; logname=
uid=0 euid=0 tty=ssh ruser= rhost=xxx-12356.l7.c1.dsl.pol.co.uk
Dec 30 15:14:32 host sshd[2706]: error: PAM: User not known to the
underlying authentication module for illegal user linus from
xxx-12356.l7.c1.dsl.pol.co.uk
So i guess something it wrong with pam here, isnt it?
I only edited /etc/pam.d/common-auth and /etc/pam.d/common-account.
Since i have a debian unstable box.
common-auth:
auth required pam_unix.so nullok_secure
auth optional pam_mysql.so user=root passwd=secret host=127.0.0.1
db=nss_mysql table=user usercolumn=user_name passwdcolumn=password
common-account:
account required pam_unix.so
account required pam_mysql.so user=root passwd=secret host=127.0.0.1
db=nss_mysql table=user usercolumn=user_name passwdcolumn=password
What else do i need to do?
Where could i get more info/logs?
Thanks, Mario
--
+++ Sparen Sie mit GMX DSL +++ http://www.gmx.net/de/go/dsl
AKTION für Wechsler: DSL-Tarife ab 3,99 EUR/Monat + Startguthaben
- [Nss-mysql-users] pam_mysql and nss_mysql,
Mario Ohnewald <=