Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Authen::PAM error

by Anonymous Monk
on Jun 14, 2011 at 04:16 UTC ( [id://909502]=note: print w/replies, xml ) Need Help??


in reply to Authen::PAM error

unable to resolve symbol
site:perlmonks.org unable to resolve symbol
ldd ...auto/Authen/PAM.so

locate pam_unix_*.so

echo .../dir/path/where/exist/pam_unix_*.so >> /etc/ld.so.conf

ldconfig

export LD_LIBRARY_PATH= .../dir/path/where/exist/pam_unix_*.so

Replies are listed 'Best First'.
Re^2: Authen::PAM error
by alele (Initiate) on Jun 14, 2011 at 21:47 UTC
    Thanks for your reply
    Tried your suggestions, but problem is still there
    Any further insights on why the problem could be happening are appreciated
    Please let me know if more information from my setup is required. Basically requirement is that user logging-in through SSH should be authenticated by my code/script

    Thanks --Ajay

      I showed you how to pinpoint the problem and how to fix it.

      If my directions did not work for you, you need to show exactly what you did, and what you saw (copy paste from the terminal).

      export LD_LIBRARY_PATH=.... only works for the current user; If you were using apache and edited ld.so.conf, you might need to restart apache...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://909502]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-03-29 01:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found