Hi all,
I have found a problem. I have installed ESET Security Management Console (ESMC) which comes with Webmin. On the 23rd July 2021 I noticed this error, “Require acl/acl-lib.pl failed : Bad name after theme' at /usr/libexec/webmin/acl/acl-lib.pl line 43.” At the time I thought it was something to do with ESET and hoped an update would fix it, plus I did not need to use it again so I forgot about the problem. Today I need to open a port on the firewall so I need to use Webmin and ESET said they do not support it.
I have attached the file mentioned in the error. I have compared it to another ESMC install but although the file is slightly different I found the same block of code and it was the same. Not sure what to try please help.
Can you post what's on line 43 of /usr/libexec/webmin/acl/acl-lib.pl ?
Also, which Webmin version are you running there?
I have attached the acl-lib.pl file to this post, but here is the line.
"Line 43 has $user{'theme'} = ""; I have cut and pasted the whole file from vi onto this message."
I did reply to you comment via email thinking it would attach to this post. I have since reinstalled the OS and very thing is now working.
Ok, I looked at that attached acl-lib.pl and it's clearly corrupt - there are a whole bunch of NULL bytes in it! I think you need to re-install Webmin.