Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've had Webmin installed on my machine for a while now, but haven't been using it. When I finally do want to use it again, I find I can't log in. Pointing my browser at http://localhost:10000 works and I see the login page. I enter "root" and my root password as the username and password respectively, but I get the message, "Login failed. Please try again.". The last time I used Webmin, it worked with this info and I haven't changed anything (at least, I don't think I have). I definitely know my root password as well, I can use Samba's SWAT for one thing!
Is there anything I can do to try and fix this? I'm not sure where to start looking :/.
I dont know if it a webmin default but to login as 'root' i need to user 'admin' username and my root password.
If you install it from rpm it your root's login
but if you install it from .tar.gz it the values that you entered into the setup script
You can try to run the setup.sh again
#cd /usr/libexec/webmin/
# ./setup.sh
try logging in as admin with your root password, thats how my webmin works. Its been installed for ages but i cant remember configuring anything special and i have upgraded recently to the latest version.
Thank you guideweb and marcusmiller for your replies. Unfortunately, I can't log in as my normal user or as admin using my root pass. Both of those gave the same error. Hmm, I didn't install it from tar.gz or RPM, I used the .tgz Slackware package from http://linuxpackages.net.
I found this in /var/webmin/miniserv.error:
[02/Aug/2005:11:18:52 +0100] miniserv.pl started
[02/Aug/2005:11:18:52 +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.6/i486-linux /usr/lib/perl5/5.8.6 /usr/lib/perl5/site_perl/5.8.6/i486-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl .) at (eval 2) line 1.
BEGIN failed--compilation aborted at (eval 2) line 1.
I know you need Perl 5 but that looks OK; from the error message it looks like you need PAM. I am no expert here but maybe you could try removing this installation and installing from an RPM to see if that deals with any dependencies the webmin has?
I have installed and upgraded webmin a few times, always from an RPM and never had any problems.
Hope this helps.
Mac
<Birmingham and London hey? I am in Brum right now matey>
I have no experience with slackware so not sure then. Maybe something you have installed has broken PAM and webmin needs it to work. You could try updating to the latest webmin and see if that helps. Failing that, you could look into Smart which is a package management system like yum/up2date/apt-get etc that works on slackware http://smartpm.org/
After that, im all out bud; slackwhere is just not my thing. :S
You may have to change it round a little for slackware
Quote:
How do I change my Webmin password if I can't login?
Included with the Webmin distribution is a program called changepass.pl to solve precisely this problem. Assuming you have installed Webmin in /usr/local/webmin-1.220, you could change the password of the admin user to foo by running
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.