View previous topic :: View next topic |
Author |
Message |
dacoool n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1696944872417c08c8c820d.jpg)
Joined: 06 Oct 2003 Posts: 73
|
Posted: Mon Apr 20, 2009 12:24 pm Post subject: Login: auth mechanism has no effect [SOLVED] |
|
|
Hi people,
i've installed gentoo some days ago.
Last night i changed a user-password, rebooted the system and logged in with the old login-data. That was the point, i recognized there went something wrong.
Now i can log into my box using a real username and "ANY" password will be accepted!!!
This is the bigges security hole i've ever seen!!!
Need help!
(gentoo current version, amd64 on Core2Duo) _________________ just me....
Last edited by dacoool on Sat Apr 25, 2009 5:21 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
aceFruchtsaft Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/75310361040f56cba0d7b7.gif)
Joined: 16 May 2004 Posts: 438 Location: Vienna, Austria
|
Posted: Thu Apr 23, 2009 8:23 pm Post subject: |
|
|
If you want help, you will need to provide some information. For starters, post the contents of /etc/pam.d/login and /etc/pam.d/system-auth. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dacoool n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1696944872417c08c8c820d.jpg)
Joined: 06 Oct 2003 Posts: 73
|
Posted: Sat Apr 25, 2009 4:57 am Post subject: |
|
|
Okay, while looking into those files, i saw "thinkfinger.so" added by myself, cause have a fingerprintreader on my thinkpad.
here it is:
Code: | cat /etc/pam.d/login
#%PAM-1.0
auth required pam_securetty.so
auth required pam_tally.so file=/var/log/faillog onerr=succeed
auth required pam_shells.so
auth required pam_nologin.so
auth include system-auth
account required pam_access.so
account include system-auth
account required pam_tally.so file=/var/log/faillog onerr=succeed
password include system-auth
session required pam_env.so
session optional pam_lastlog.so
session optional pam_motd.so motd=/etc/motd
session optional pam_mail.so
session include system-auth
|
Code: | cat /etc/pam.d/system-auth
auth required pam_env.so
auth sufficient pam_thinkfinger.so
auth sufficient pam_unix.so try_first_pass likeauth nullok
account required pam_unix.so
password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3
password required pam_unix.so try_first_pass use_authtok nullok sha512 shadow
session required pam_limits.so
session required pam_env.so
session required pam_unix.so
session optional pam_permit.so
|
now i'll try without thinkfinger.so, but that's no solution! i want thinkfinger to work!
thanks _________________ just me.... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dacoool n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1696944872417c08c8c820d.jpg)
Joined: 06 Oct 2003 Posts: 73
|
Posted: Sat Apr 25, 2009 5:21 am Post subject: [solved] |
|
|
found the solution:
here _________________ just me.... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|