|
From: Jamie C. <jca...@we...> - 2006-07-01 17:46:29
|
Hi Aaron,<br />PAM is an API that programs like Webmin can use to check passwords on a Linux system. However, in order to use it the Perl module Authen::PAM must be installed, and the file /etc/pam.d/webmin must be setup correctly. If either of those are not working, you can get into a suituation where you cannot login to Webmin. Normally I can detect this and fall back to a different type of authentication, but it seems to be failing in your case.<br /><br />The changepass.pl program sets the password for the root Webmin user separately, which is stored in /etc/webmin/miniserv.users. Once this is done, PAM does not need to be used at all..<br /><br />=A0- Jamie<br /><br />On 1/Jul/2006 11:11 Aaron Gray wrote .. <blockquote type=3D"cite"> <div><font size=3D"2" face=3D"Arial"><font size=3D"3" face=3D"Times New Roman">>> Does it help if you set the Webmin root password so that PAM is not <br />>> needed?<br />>> This can be done by running the command :<br />>><br />>> /usr/libexec/webmin/changepass.pl /etc/webmin root foo<br />><br />>That did the trick.<br /><br />What actually is going on here, PAM / no PAM.<br /><br />I am in the dark here could someone please give me an explanation.<br /><br />Why is Perl not installing PAM, what is PAM, and do I really need it ?<br /><br />Why is this not a problem on the previous instillation of this server and on <br />its sister server ?<br /><br />Why, why, why :)<br /><br />Aaron<br /><br />> Hi Aaron,<br />> Does it help if you set the Webmin root password so that PAM is not <br />> needed?<br />> This can be done by running the command :<br />><br />> /usr/libexec/webmin/changepass.pl /etc/webmin root foo<br />><br />> to set the root password to foo.<br />><br />> - Jamie<br />><br />> On 27/May/2006 18:28 Aaron Gray wrote ..<br />>> Jamie,<br />>><br />>> Yes, I am unable to log in.<br />>><br />>> Have tried installing Authen::PAM with :-<br />>><br />>>=A0=A0=A0=A0=A0=A0=A0=A0 perl -MCPAN -e install Authen::PAM<br />>><br />>> But that did not help.<br />>><br />>> Aaron<br />>><br />>> ------------------<br />>> Hi Aaron,<br />>> That message is just a warning and can be ignored ... or are you having<br />>> trouble logging into Webmin?<br />>><br />>>=A0 - Jamie<br />>><br />>> -----Original Message-----<br />>><br />>> From:=A0 "Aaron Gray" <</font><a><font size=3D"3" face=3D"Times New Roman">an...@be...</font></a><font size=3D"3" face=3D"Times New Roman">><br />>> Subj:=A0 [webmin-l] Webmin 1.270 on Redhat 9 not logging in<br />>> Date:=A0 Sat 27 May 2006 2:24 pm<br />>> Size:=A0 1K<br />>> To:=A0 <</font><a><font size=3D"3" face=3D"Times New Roman">web...@li...</font></a><font size=3D"3" face=3D"Times New Roman">><br />>><br />>>=A0=A0=A0=A0=A0=A0=A0 I have reinstalled Redhat 9 and Webmin 1.270 but am=A0 getting the<br />>> same<br />>> errors as last time :-<br />>><br />>><br />>>=A0 [root@xxx webmin-1.270]# cat=A0 /var/webmin/miniserv.error<br />>> [27/May/2006:22:11:19 +0100] miniserv.pl=A0 started<br />>> [27/May/2006:22:11:19 +0100] Perl module Authen::PAM needed for PAM=A0 is<br />>> not<br />>> installed : Can't locate Authen/PAM.pm in @INC (@INC contains:<br />>> /usr/local/webmin /usr/lib/perl5/5.8.0/i386-linux-thread-multi<br />>> /usr/lib/perl5/5.8.0 <br />>> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi<br />>> /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl<br />>> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi<br />>> /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl<br />>> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at<br />>> (eval 2)=A0 line 1.<br />>> BEGIN failed--compilation aborted at (eval 2) line=A0 1.<br />>><br />>>=A0 Help,<br />>><br />>>=A0 Aaron<br />>><br />>><br />>><br />>><br />>><br />>> -------------------------------------------------------<br />>> All the advantages of Linux Managed Hosting--Without the Cost and Risk!<br />>> Fully trained technicians. The highest number of Red Hat certifications<br />>> in<br />>> the hosting industry. Fanatical Support. Click to learn more<br />>> </font><a><font size=3D"3" face=3D"Times New Roman">http://sel.as-us.falkag.net/sel?cmd=3Dk&kid7521&bid$8729&dat1642</font></a><br /><font size=3D"3" face=3D"Times New Roman">>> -<br />>> Forwarded by the Webmin mailing list at <br />>> </font><a><font size=3D"3" face=3D"Times New Roman">web...@li...</font></a><br /><font size=3D"3" face=3D"Times New Roman">>> To remove yourself from this list, go to<br />>> </font><a><font size=3D"3" face=3D"Times New Roman">http://lists.sourceforge.net/lists/listinfo/webadmin-list</font></a><br /><font size=3D"3" face=3D"Times New Roman">>><br />>><br />>> -- <br />>> No virus found in this incoming message.<br />>> Checked by AVG Free Edition.<br />>> Version: 7.1.394 / Virus Database: 268.7.2/349 - Release Date: 26/05/2006<br />>><br />>><br />>><br />>> -------------------------------------------------------<br />>> All the advantages of Linux Managed Hosting--Without the Cost and Risk!<br />>> Fully trained technicians. The highest number of Red Hat certifications<br />>> in<br />>> the hosting industry. Fanatical Support. Click to learn more<br />>> </font><a><font size=3D"3" face=3D"Times New Roman">http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D107521&bid=3D248729&dat=3D121642</font></a><br /><font size=3D"3" face=3D"Times New Roman">>> -<br />>> Forwarded by the Webmin mailing list at <br />>> </font><a><font size=3D"3" face=3D"Times New Roman">web...@li...</font></a><br /><font size=3D"3" face=3D"Times New Roman">>> To remove yourself from this list, go to<br />>> </font><a><font size=3D"3" face=3D"Times New Roman">http://lists.sourceforge.net/lists/listinfo/webadmin-list</font></a><br /><font size=3D"3" face=3D"Times New Roman">><br />><br />> -------------------------------------------------------<br />> All the advantages of Linux Managed Hosting--Without the Cost and Risk!<br />> Fully trained technicians. The highest number of Red Hat certifications in<br />> the hosting industry. Fanatical Support. Click to learn more<br />> </font><a><font size=3D"3" face=3D"Times New Roman">http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D107521&bid=3D248729&dat=3D121642</font></a><br /><font size=3D"3" face=3D"Times New Roman">> -<br />> Forwarded by the Webmin mailing list at <br />> </font><a><font size=3D"3" face=3D"Times New Roman">web...@li...</font></a><br /><font size=3D"3" face=3D"Times New Roman">> To remove yourself from this list, go to<br />> </font><a><font size=3D"3" face=3D"Times New Roman">http://lists.sourceforge.net/lists/listinfo/webadmin-list</font></a><br /><font size=3D"3" face=3D"Times New Roman">><br />><br />> -- <br />> No virus found in this incoming message.<br />> Checked by AVG Free Edition.<br />> Version: 7.1.394 / Virus Database: 268.7.2/349 - Release Date: 26/05/2006<br />><br /><br /><br /><br />-------------------------------------------------------<br />All the advantages of Linux Managed Hosting--Without the Cost and Risk!<br />Fully trained technicians. The highest number of Red Hat certifications in<br />the hosting industry. Fanatical Support. Click to learn more<br /></font><a><font size=3D"3" face=3D"Times New Roman">http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D107521&bid=3D248729&dat=3D121642</font></a><br /><font size=3D"3" face=3D"Times New Roman">-<br />Forwarded by the Webmin mailing list at </font><a><font size=3D"3" face=3D"Times New Roman">web...@li...</font></a><br /><font size=3D"3" face=3D"Times New Roman">To remove yourself from this list, go to<br /></font><a><font size=3D"3" face=3D"Times New Roman">http://lists.sourceforge.net/lists/listinfo/webadmin-list</font></a><br /><br /><br /><font size=3D"3" face=3D"Times New Roman">-- <br />No virus found in this incoming message.<br />Checked by AVG Free Edition.<br />Version: 7.1.394 / Virus Database: 268.7.2/349 - Release Date: 26/05/2006</font><br /></font></div></blockquote><br /> |