LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 08-02-2005, 01:41 AM   #1
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Webmin problem: can't log in


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 :/.

Thanks.
 
Old 08-02-2005, 03:38 AM   #2
guideweb
Member
 
Registered: Mar 2004
Location: /planet/earth
Posts: 110

Rep: Reputation: 15
Hi,

Can you login from a normal user account ?

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
 
Old 08-02-2005, 05:11 AM   #3
marcusmiller
LQ Newbie
 
Registered: Aug 2005
Location: UK
Distribution: RedHat
Posts: 10

Rep: Reputation: 0
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.

Hope that helps.
Mac
 
Old 08-02-2005, 05:26 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
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.
 
Old 08-02-2005, 06:48 AM   #5
marcusmiller
LQ Newbie
 
Registered: Aug 2005
Location: UK
Distribution: RedHat
Posts: 10

Rep: Reputation: 0
Hey Nylex

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>
 
Old 08-02-2005, 07:39 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
Slackware doesn't use RPM though. I'm sure it was working fine before, though :/.

Yeah, Birmingham is for uni, London is home .
 
Old 08-02-2005, 08:36 AM   #7
marcusmiller
LQ Newbie
 
Registered: Aug 2005
Location: UK
Distribution: RedHat
Posts: 10

Rep: Reputation: 0
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
 
Old 08-02-2005, 09:05 AM   #8
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
No problem, thanks for the suggestions .
 
Old 08-02-2005, 02:19 PM   #9
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
Nylex

This is from the Webmin FAQ'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

/usr/local/webmin-1.220/changepass.pl /etc/webmin admin foo
Not sure it it helps, but I am looking

Pete
 
Old 08-02-2005, 02:26 PM   #10
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
Pete M, GENIUS! That's done it, thank you very much . I couldn't find the FAQ to be honest oops.
 
Old 08-02-2005, 02:34 PM   #11
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
Nylex

For future reference

Webmin FAQ's

Glad to help a fellow Midlander

Pete
 
Old 08-02-2005, 02:44 PM   #12
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
Thanks for the link .

PS: I'm a Londoner.. Bham's only for uni .
 
Old 08-02-2005, 02:47 PM   #13
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
Nylex

Ok

Glad to help a part-time fellow Midlander

Pete
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
webmin troubles - Failed to write to /etc/webmin/module.infos.cache : No space left o coal-fire-ice Linux - Software 1 07-28-2005 10:08 AM
pppd logging to /var/log/ppp.log problem mrtwice Linux - Software 1 01-10-2004 05:38 PM
using browser to log into webmin silva Linux - Newbie 0 07-16-2003 10:46 AM
how to install squid log view in webmin module heero82 Linux - Software 0 06-27-2003 05:15 AM
webmin problem martinux Linux - Networking 3 12-12-2002 06:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration