Gentoo Archives: gentoo-user

From: Chuanwen Wu <wcw8410@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't login from terminal?
Date: Thu, 12 Feb 2009 08:28:38
Message-Id: 7797aa370902120028k20bbec9br51eec340df060e79@mail.gmail.com
In Reply to: Re: [gentoo-user] Can't login from terminal? by Mike Kazantsev
1 Hi, thanks!
2 > If you have pam on your system, then it broken
3 > '/etc/pam.d/system-local-login' might be the cause, as well as
4 > user-specific files there.
5 > And if that's not the case, try commenting out pam modules like
6 > mod_access, which can add additional access restrictions.
7 which file has "mod_access" ?
8
9 # grep mod_access /etc/* -R
10 grep: /etc/ssl/certs/cacert.org.pem: No such file or directory
11 grep: /etc/ssl/certs/5ed36f99.0: No such file or directory
12
13 >
14 > Also, you can probably tell if pam is the cause of a problem by
15 > commenting out all the required modules from whole authentication chain
16 > (usually, commenting out everything in system-auth will do) - it should
17 > allow any access w/o password, and it's probably not pam if it
18 > doesn't... can't really think what else it might be, though.
19 I have commented out everything in system-auth, and still can't
20 login, although the result is diff:
21
22 /*************************************/
23 This is Gentoo-Server.unknown_domain (Linux i686 2.6.26-gentoo-r1) 12:22:39
24 Gentoo-Server login: root
25 Last login: Thu Feb 12:09:24 CST 2009 from node07 on pts/0
26
27 This is Gentoo-Server.unknown_domain (Linux i686 2.6.26-gentoo-r1) 12:28:36
28 Gentoo-Server login:
29 /*************************************/
30 Now it don't prompt the "Password:"
31
32 --
33 wcw

Replies

Subject Author
Re: [gentoo-user] Can't login from terminal? Mike Kazantsev <mike_kazantsev@×××××××.net>