Re: Incorrect password

"Jonathan Miller" <[email protected]>
Newsgroups gmane.mail.neomail.general
Message-ID <001001c2cc80$a2756d00$0a41a8c0@jon>
What are the permissions of /etc/shadow?  Unless it is group owned by "mail"
(a bad thing) or you configure neomail to run as "suid root" (bad, but not
quite as bad) you'll see it continue to fail.

IIRC, there is a replacement checklogin.pl script that supports PAM
(pluggable authentication module) that may work for your configuration.
This would be the graceful way to do it.  Hopefully someone else on this
list can point you to it.


Have a nice day :-)

-Jonathan


----- Original Message -----
From: "Leon Mayne" <[email protected]>
To: <[email protected]>
Sent: Tuesday, February 04, 2003 7:44 AM
Subject: [Neomail-users] Incorrect password


> Hello,
> Still can't set up Neomail on my redhat box. The script itself is
displaying
> the login screen now, but whenever I try to log on as any of the users, I
> get 'Sorry, the password you entered was incorrect! Please go back and try
> again.'
>
> I'm using /etc/shadow as the password list, and my permissions are thus:
>
> /var/neomail:
> drwxrwx---    6 root     mail         4096 Feb  4 15:33 .
> drwxr-xr-x   18 root     root         4096 Feb  4 15:33 ..
> -rwsr-xr-x    1 root     root          710 Feb  4 15:33 checklogin.pl
> drwxr-x---    2 root     mail         4096 Feb  4 15:33 lang
> -rwxr-x---    1 root     mail         7432 Feb  4 15:33 neomail.conf
> -rw-rw----    1 root     mail          216 Feb  4 15:34 neomail.log
> drwxr-x---    2 root     mail         4096 Feb  4 15:33 styles
> drwxr-x---   23 root     mail         4096 Feb  4 15:33 templates
> drwxrwx---    2 root     mail         4096 Feb  4 15:33 users
>
> cgi-bin:
> -rwxr-sr-x    1 root     mail       120429 Feb  4 15:33 neomail.pl
> -rwxr-sr-x    1 root     mail        46792 Feb  4 15:33 neomail-prefs.pl



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.