Dear Admins,

I have a Linux box running RedHat 6.2 and is a local mail server.  The
problem is that it cannot authenticate imap and pop requests(I use
pine and it says "Authentication failure").  

For your info:  imap and pop services are enabled in /etc/inetd.conf and
-------------
the services are listed in the /etc/services file.

The following is the message logged in /var/log/messages file when I
connect using imap:

------------------------------------------------------------------------
Aug 25 14:04:17 mail pam_rhosts_auth[11611]: denied to
[EMAIL PROTECTED] as jack: access not allowed 

Aug 25 13:47:53 mail in.rshd[11611]: rsh denied to
[EMAIL PROTECTED] as jacobr: Permission denied.
------------------------------------------------------------------------

I thought this might be due to PAM authentication and commented out the
following lines from the file /etc/pam.d/rsh :

auth       required    /lib/security/pam_rhosts_auth.so


After commenting out I still get the message in pine as "Authentication
failure".  But this time the above messages does not appear in the
'messages' file but the /var/log/maillog says :

-----------------------------------------------------------------------
Aug 25 13:47:53 mail imapd[11612]: imap service init from 172.16.2.52

Aug 25 13:47:56 mail imapd[11612]: Login failure user=jacobr 
host=exodus.rri.local.net [172.16.2.52]

Aug 25 13:47:59 mail imapd[11612]: AUTHENTICATE LOGIN failure
host=exodus.rri.local.net [172.16.2.52]
-----------------------------------------------------------------------

Could someone help me out solve this problem.

I would also like to know how do I disable PAM authentication?


Thankyou in advance,

Cheers,

Jacob Rajan,
Systems Manager,
Raman Research Institute,
Bangalore - 80


----------------------------------------------
Find out more about this and other Linux India 
mailing lists at http://lists.linux-india.org/

Reply via email to