Menu

pam_unix(webmin:auth): authentication failure

Webmin
2016-01-28
2019-03-24
  • Jean-christophe Manciot

    I've just changed webmin SSL private key and certificate.
    Now, I get this error message:

    systemctl status webmin
     webmin.service - LSB: Start or stop the Webmin server
       Loaded: loaded (/etc/init.d/webmin)
       Active: active (running) since Thu 2016-01-28 14:59:52 CET; 28min ago
         Docs: man:systemd-sysv-generator(8)
      Process: 1075 ExecStart=/etc/init.d/webmin start (code=exited, status=0/SUCCESS)
       Memory: 39.1M
          CPU: 2.483s
       CGroup: /system.slice/webmin.service
               └─3792 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf
    
    Jan 28 14:59:42 samsung-ubuntu systemd[1]: Starting LSB: Start or stop the Webmin server...
    Jan 28 14:59:44 samsung-ubuntu perl[1076]: pam_unix(webmin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=root
    Jan 28 14:59:46 samsung-ubuntu webmin[1076]: Webmin starting
    Jan 28 14:59:52 samsung-ubuntu systemd[1]: Started LSB: Start or stop the Webmin server.
    

    What should be done to allow access through PAM again?

     
  • Gary Johnson

    Gary Johnson - 2019-03-24

    I have an issue with the same symptons.
    Installed on Ubuntu 18.04 with instructions from here: http://www.webmin.com/deb.html

    From log
    Mar 24 08:01:32 cloudb-2019 systemd[1]: Starting LSB: web-based administration interface for Unix systems...
    Mar 24 08:01:34 cloudb-2019 perl[957]: pam_unix(webmin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser=
    Mar 24 08:01:35 cloudb-2019 webmin[957]: Webmin starting
    Mar 24 08:01:36 cloudb-2019 systemd[1]: Started LSB: web-based administration interface for Unix systems.

    It says its started, but I time out every time I try and access it, I time out

    It says its running: /etc/init.d/webmin status
    Webmin (pid 2550) is running

    I do not see a log for webmin under /log/var

    I have the key for webmin
    apt-key list
    /etc/apt/trusted.gpg
    pub dsa1024 2002-02-28 [SCA]

    uid [ unknown] Jamie Cameron jcameron@webmin.com
    sub elg1024 2002-02-28 [E]
    its not expired

    I have searched for authentication failure

    https://sourceforge.net/p/webadmin/discussion/600155/thread/39cc95c4/?limit=25#8c88/7731

    How do I Enable Session authentication?
    I even found the reason for the failure of the authentication page.
    In the configuration of Webmin , the Authentication module, had not enabled the " Enable session authentication ." After enabling this option, the login screen was changed and returned to work normally.

    Mar 24 09:19:43 cloudb-2019 sshd[5311]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.177.172.157 user=root
    Mar 24 09:20:41 cloudb-2019 sshd[5335]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.177.172.157 user=root

     

Log in to post a comment.