1 |
On Tue, 19 Jun 2007 15:20:31 +0200 |
2 |
Hans-Werner Hilse <hilse@×××.de> wrote: |
3 |
|
4 |
> - noexec partition (unlikely, since more or less nothing would work), or |
5 |
> - PAM getting angry, maybe because your /etc/shells doesn't contain the |
6 |
> shells? |
7 |
> |
8 |
> If it's none of these, check the system log. PAM should monitor the |
9 |
> reason. If that doesn't tell anything, try running "strace -f su - youruser" |
10 |
|
11 |
There is no noexec flag on the partition and /etc/shells is okay as |
12 |
well. But when I try to log in on the terminal the following is written |
13 |
into the error log (with ssh only the last two): |
14 |
|
15 |
Jun 19 16:09:15 [login] pam_tally(login:account): option deny=0 allowed in auth phase only |
16 |
Jun 19 16:09:15 [login] pam_tally(login:account): unknown option: no_magic_root |
17 |
Jun 19 16:09:15 [login] pam_unix(login:session): session opened for user jonsnow by LOGIN(uid=0) |
18 |
Jun 19 16:09:15 [login] pam_unix(login:session): session closed for user jonsnow |
19 |
|
20 |
The corresponding entries (to the first two lines are) |
21 |
in /etc/pam.d/login. |
22 |
|
23 |
auth required pam_tally.so file=/var/log/faillog onerr=succeed no_magic_root |
24 |
account required pam_tally.so deny=0 file=/var/log/faillog onerr=succeed no_magic_root |
25 |
|
26 |
|
27 |
I tried to remove the options to test if it had some effect but just |
28 |
the first two lines vanished and I still couldn't log in. Additionally, |
29 |
the pam files seem to be the same as on my file server. |
30 |
|
31 |
The permissions of /bin seem to be okay: |
32 |
|
33 |
drwxr-xr-x 2 root root 4096 2007-06-19 14:53 bin/ |
34 |
|
35 |
|
36 |
Jan-Hendrik Zab |
37 |
-- |
38 |
| Jan-Hendrik Zab |
39 |
| +49 (0)1773392888 |
40 |
| http://www.v3ng34nce.org |
41 |
-- |
42 |
gentoo-user@g.o mailing list |