|
From: Aaron G. <an...@be...> - 2006-07-01 23:29:07
|
Jamie,
Thanks for the explanation. Its strange as webmin seems to work through =
PAM on my other server and this one before I reinstalled it with the =
same Redhat 9 instillation as before. Very odd. Oh well I will see what =
happens when I reinstall it again when I get the new mirrored drives to =
replace the faulty one which was the cause of the reinstall in the first =
place.
Many thanks for the explanation,
Aaron
----- Original Message -----=20
From: Jamie Cameron=20
To: Webmin users list=20
Sent: Saturday, July 01, 2006 6:46 PM
Subject: Re: [webmin-l] Webmin 1.270 on Redhat 9 not logging in =
-PAMAuthentification
Hi Aaron,
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.
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..
- Jamie
On 1/Jul/2006 11:11 Aaron Gray wrote ..=20
>> Does it help if you set the Webmin root password so that PAM is =
not=20
>> needed?
>> This can be done by running the command :
>>
>> /usr/libexec/webmin/changepass.pl /etc/webmin root foo
>
>That did the trick.
What actually is going on here, PAM / no PAM.
I am in the dark here could someone please give me an explanation.
Why is Perl not installing PAM, what is PAM, and do I really need it =
?
Why is this not a problem on the previous instillation of this =
server and on=20
its sister server ?
Why, why, why :)
Aaron
> Hi Aaron,
> Does it help if you set the Webmin root password so that PAM is =
not=20
> needed?
> This can be done by running the command :
>
> /usr/libexec/webmin/changepass.pl /etc/webmin root foo
>
> to set the root password to foo.
>
> - Jamie
>
> On 27/May/2006 18:28 Aaron Gray wrote ..
>> Jamie,
>>
>> Yes, I am unable to log in.
>>
>> Have tried installing Authen::PAM with :-
>>
>> perl -MCPAN -e install Authen::PAM
>>
>> But that did not help.
>>
>> Aaron
>>
>> ------------------
>> Hi Aaron,
>> That message is just a warning and can be ignored ... or are you =
having
>> trouble logging into Webmin?
>>
>> - Jamie
>>
>> -----Original Message-----
>>
>> From: "Aaron Gray" <an...@be...>
>> Subj: [webmin-l] Webmin 1.270 on Redhat 9 not logging in
>> Date: Sat 27 May 2006 2:24 pm
>> Size: 1K
>> To: <web...@li...>
>>
>> I have reinstalled Redhat 9 and Webmin 1.270 but am =
getting the
>> same
>> errors as last time :-
>>
>>
>> [root@xxx webmin-1.270]# cat /var/webmin/miniserv.error
>> [27/May/2006:22:11:19 +0100] miniserv.pl started
>> [27/May/2006:22:11:19 +0100] Perl module Authen::PAM needed for =
PAM is
>> not
>> installed : Can't locate Authen/PAM.pm in @INC (@INC contains:
>> /usr/local/webmin /usr/lib/perl5/5.8.0/i386-linux-thread-multi
>> /usr/lib/perl5/5.8.0=20
>> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
>> /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
>> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
>> /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
>> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 =
.) at
>> (eval 2) line 1.
>> BEGIN failed--compilation aborted at (eval 2) line 1.
>>
>> Help,
>>
>> Aaron
>>
>>
>>
>>
>>
>> -------------------------------------------------------
>> All the advantages of Linux Managed Hosting--Without the Cost and =
Risk!
>> Fully trained technicians. The highest number of Red Hat =
certifications
>> in
>> the hosting industry. Fanatical Support. Click to learn more
>> =
http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=107521&bid$8729&dat=121642
>> -
>> Forwarded by the Webmin mailing list at=20
>> web...@li...
>> To remove yourself from this list, go to
>> http://lists.sourceforge.net/lists/listinfo/webadmin-list
>>
>>
>> --=20
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.1.394 / Virus Database: 268.7.2/349 - Release Date: =
26/05/2006
>>
>>
>>
>> -------------------------------------------------------
>> All the advantages of Linux Managed Hosting--Without the Cost and =
Risk!
>> Fully trained technicians. The highest number of Red Hat =
certifications
>> in
>> the hosting industry. Fanatical Support. Click to learn more
>> =
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D107521&bid=3D248729&dat=3D=
121642
>> -
>> Forwarded by the Webmin mailing list at=20
>> web...@li...
>> To remove yourself from this list, go to
>> http://lists.sourceforge.net/lists/listinfo/webadmin-list
>
>
> -------------------------------------------------------
> All the advantages of Linux Managed Hosting--Without the Cost and =
Risk!
> Fully trained technicians. The highest number of Red Hat =
certifications in
> the hosting industry. Fanatical Support. Click to learn more
> =
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D107521&bid=3D248729&dat=3D=
121642
> -
> Forwarded by the Webmin mailing list at=20
> web...@li...
> To remove yourself from this list, go to
> http://lists.sourceforge.net/lists/listinfo/webadmin-list
>
>
> --=20
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.7.2/349 - Release Date: =
26/05/2006
>
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and =
Risk!
Fully trained technicians. The highest number of Red Hat =
certifications in
the hosting industry. Fanatical Support. Click to learn more
=
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D107521&bid=3D248729&dat=3D=
121642
-
Forwarded by the Webmin mailing list at =
web...@li...
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
--=20
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.7.2/349 - Release Date: =
26/05/2006
-------------------------------------------------------------------------=
-----
Using Tomcat but need to do more? Need to support web services, =
security?
Get stuff done quickly with pre-integrated technology to make your job =
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache =
Geronimo
=
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
121642
-------------------------------------------------------------------------=
-----
-
Forwarded by the Webmin mailing list at =
web...@li...
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
|