Discussion:
Webmin authentication logging?
John Oliver
2002-05-24 17:42:25 UTC
Permalink
I got webmin working by setting it to open on port 80. Dunno why that
works and not any other port, but...

However, I cannot log in with my root password. Just says "login
failed". Where are authentication logs kept? I need to know *why* it
says login failed...
--
John Oliver http://www.john-oliver.net/
***@john-oliver.net http://www.mrtg-monitoring.com/

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

-
Forwarded by the Webmin mailing list at webadmin-***@lists.sourceforge.net
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
Barry Caplan
2002-05-24 21:10:31 UTC
Permalink
using webmin 0.96.

I changed settings to block after a certain number of failed attempts (5 I think). I also changed authentication to use PAM.

Now I can't log on at all. I get a message that says: "Login failed. Please try again"

- I too would like to know where logs are kept
- If I am blocked, for who long is that
- how can I set the authentication method back to something that works?

Thanks!

Barry


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

-
Forwarded by the Webmin mailing list at webadmin-***@lists.sourceforge.net
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
Jamie Cameron
2002-05-25 02:48:24 UTC
Permalink
Post by Barry Caplan
using webmin 0.96.
I changed settings to block after a certain number of failed attempts (5 I think). I also changed authentication to use PAM.
Now I can't log on at all. I get a message that says: "Login failed. Please try again"
- I too would like to know where logs are kept
- If I am blocked, for who long is that
- how can I set the authentication method back to something that works?
If you have enabled PAM authentication, make sure the file /etc/pam.d/webmin exists
on your system - it should look something like :

#%PAM-1.0
auth required pam_unix.so shadow nullok
account required pam_unix.so
password required pam_unix.so shadow nullok use_authtok
session required pam_unix.so

Also, to reset the failed logins block, just stop and re-start webmin.

- Jamie

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

-
Forwarded by the Webmin mailing list at webadmin-***@lists.sourceforge.net
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list

Jamie Cameron
2002-05-25 02:42:56 UTC
Permalink
Post by John Oliver
I got webmin working by setting it to open on port 80. Dunno why that
works and not any other port, but...
However, I cannot log in with my root password. Just says "login
failed". Where are authentication logs kept? I need to know *why* it
says login failed...
There is no error_log file like apache has, but if you cannot login
then there can only be two possible problems - the user does not exist
in /etc/webmin/miniserv.users , or the password for the user is incorrect.
If it is the latter, you might want to try running

/usr/libexec/webmin/changepass.pl /etc/webmin root newpassword

to re-set the root password. Normally it should be copied from your root
password at the time webmin was installed, assuming you installed from
an RPM.

- Jamie

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

-
Forwarded by the Webmin mailing list at webadmin-***@lists.sourceforge.net
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
Loading...