Re: Incorrect password
Miguel! <[email protected]> Mon, 31 Jan 2005 12:33:21 -0600 (CST)
| Newsgroups | gmane.mail.neomail.general |
|---|---|
| Message-ID | <[email protected]> |
From FAQ Official of Neomail: Q. I got NeoMail installed OK, but I can't login! No matter what I type I get the invalid password message. Also, my Apache error_log shows reads on a closed filehandle, <PASSWD> and a couple uses of undefined values as well. What gives? A. This means that, for some reason, NeoMail is having trouble opening the file you specified as your encrypted password file during setup.pl, or in the $passwdfile variable if you configured NeoMail manually. The root of this problem could be one of several possibilities. First, and most commonly, is that people simply forget to specify /etc/shadow as the password file when using shadowed passwords. This generally happens on manual installs only, as setup.pl does some checking to make sure that there are encrypted passwords in whatever file it defaults to. The next possibility is that while the program knows where your passwords are stored, it cannot open the file to read them, because it has insufficient permissions. Checklogin.pl should generally run suid root, unless you choose a manual install and used a file that doesn't require root permissions to be read for your encrypted passwords. If this isn't the case, another likely possibility is that while you have the Perl interpreter on your system, you don't have the additional wrapper program included in most Perl distributions, suidperl. This should generally exist in the same directory as perl does, and be setuid root. When perl opens a setuid script, it sees the setuid bit, and since most operating systems don't allow scripts to run setuid, it calls the suidperl executable to run the script with root permissions. Greetings, Miguel! --- [email protected] escribi=F3:=20 > After installing Neomail on a Fedora Core 3 system > it seems to have a=20 > problem checking users passwords returning the > error: >=20 > Sorry, the password you entered was incorrect! > Please go back and try again >=20 > After doing some digging, it looks like the > checklogin.pl program is=20 > returning the value 13 no matter what > username/password combination=20 > you enter. >=20 > Run checklogin.pl manually from the command line and > it works just=20 > find, ie: 'echo $?' returns '0' when correct > username/password=20 > entered and '1' when incorrect details entered. >=20 > For some reason perl is always seeing the return > value as 13 >=20 > Anyone any idea's ? >=20 > Thanks, > Chris >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- > Interactive Reporting > Tool for open source databases. Create drag-&-drop > reports. Save time > by over 75%! Publish reports on the web. Export to > DOC, XLS, RTF, etc. > Download a FREE copy at > http://www.intelliview.com/go/osdn_nl > _______________________________________________ > NeoMail-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/neomail-users > =20 _________________________________________________________ Do You Yahoo!? Informaci=F3n de Estados Unidos y Am=E9rica Latina, en Yahoo! Noticias. Vis=EDtanos en http://noticias.espanol.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl