-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rajesh Fowkar forced the electrons to say:
> I had installed imap.rpm from Red Hat 6.2 CD. It contains ipop3d server.

Uh oh - therein lies your problem. RedHat and SuSE use different PAM
configurations.

> In /etc/pam.d/ there is a file called pop which contained the following :
> #%PAM-1.0
> auth       required    /lib/security/pam_pwdb.so shadow nullok
> account    required    /lib/security/pam_pwdb.so
> I commented the above two lines and restarted inetd and voila now my pop3
> server is working.

Well, I guess now it is authenticating without any password check. Give a
wrong password and see if it still authenticates, will you?

> Is pop3 using pam authentication ? I will go through the documentation of
> PAM. Don't know much about it.

Yes. In fact, PAM has become the de facto standard for authentication in
Linux nowadays. I am using it for apache and squid authentication as well
(Not to mention Courier IMAP, Solid POP and ftpd-BSD servers).

> Why using PAM for authentication fails for pop3 server ?

As I mentioned, cross distro incompatibilities. I'd say for SuSE, a sample
/etc/pam.d/pop should contain (look in the other files for exact paths):

#%PAM-1.0
auth    required    /lib/security/pam_unix.so
account required    /lib/security/pam_unix.so

Binand

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6P5idGXtiwttetWoRAigNAJ9fffNfYFY4gm8YJILkGmz+mQJ+QACgo0Uy
RMQfbPJjbHnWjOKCAYl7qT4=
=a7qy
-----END PGP SIGNATURE-----

----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr

Reply via email to