vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I am posting this here because I would like to have found this information the easy way and not after hours and hours of debugging. Recently atd moved to pam authentication. In one of my machines at stopped working for a user with the obscure error message in the syslog: atd: Authentication service cannot retrieve authentication info. and _no_ other information given there or anywhere else. PAM was not easy to debug. Fortunately after some hours of testing I found that doing a "su" from root to the affected user showed the same symptoms, which rekindled a dim memory. The solution was that if a user does not have an entry in /etc/shadow (perfectly fine if that user never loggs in), then PAM ignores everything else and fails all authentication requests for that user. So just copy any other user line in /etc/shadow, replace the name with the target user and the password with "!" or the like (effectively blocks login with password). and it works. Arno |
| Thread Tools | |
| Display Modes | |
|
|