
I tried to change the settings on the authentic theme. The link the button opens is http://localhost:10000/webmin/edit_themes.cgi When I look at the default admin user that Webmin creates on OS X, it has all privileges selected. I disabled all then reenabled all and still nothing. Any idea what causes the Access denied : User admin is not allowed to use the module
on Mac OS X when trying to modify settings on the Authentic theme? Jamie thought this could be related to the theme. I get these errors in the console.
[06/Mar/2016:18:39:35 -0700] Reloading configuration
Error: Access denied : User admin is not allowed to use the module
Use of uninitialized value $mode in chop at ./webmin-lib.pl line 1699.
Argument "^YM-p JM-^Ni1m0M-^P^C^EM-TM-EM-\0M-^TT^H^TCM-b**LNM- M-^P..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "]Az" isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "1AM-xM-zc|,M-\rZ-M-^EuM-%M-^D@eM-^OM-^NM-xM-%M-$R^QM-Z^H..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "M-dM-XM-8M-.rM-^\*%M-^TM-uM-8M-~jM-(M-|^\M-WnM-AM-.M-E^F..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "_\0M-^B^DM-^IwDmM-]M-:M-5\f^]^[\rM-iM-TU6zM-]\fM-v{M-tM-0..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "M-iM- ^VM-8M-aqW@M-+C" isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "pM-Y2-M-plM-^A^HM-^^M-dhdM--M-@3M-"M-^EM-1.M-a,M-^C`M-^U..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "XPM-lM-e+M-^T\fM-^RM-ZM-tM-9^R<M-oM-[^B^F^[[^^[^WM-*M-^f..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "M-^KM-=8M-^W+M-;(M-^CM- M-^BM-BSRM-=.^]M-^RM-xg\\M-:M-tM-A..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "M-+]$M-"p^^qM-!w3M-K7}^K6;/^BM-^GP{M-l<%M-reDNP\0M-\r!zM-8..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "M-9M-!M-^Gh^T^:DM-AM-yM-\\M-nM-AUM-^HDM-UM-^DX^_\fM-/M- ..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "6;;{M-4M-uM-^ZM-=?M-,M-IM-dM-^M-sM-*NM-^)M-^_M-8M-9M-slM-Y..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "kM-~M-O`^PM-SM-AvM-fM-CM-\0qM-^SM-1DKM-]rM-HM-hAKM-xM-yM-m..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "M-^I&^p;M-^QM-";tM-v;/7^URM-^ChM-S\0M-+)^EM-^PfM-1x~^ZM-%..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "M-=M-^CKcM-:VM-SHeM-1M-SM-XM-!+M-dM-^M-]^S)h^\M-v"M-^NM-,..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "M-?M-^DLM-FJM-^IM-b`M-*M-/^?PM-tM-|M-\f^RM-^?yM-^^2M-8M-y..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "f^_M-VM-^T;c#^W^QM-^\M-^OnM-^X^A{^CM-f^?-!M-q^[QMM-@`M-y..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "M-_M-C^WM-1e^BM-k^Q^^33M-:M-^QM-s$M-(M-"M-^78M-8|M-H^_^Q..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "B^?M-&M-nM-^^lM-;M-[M-:M-:Ob!M-#M-PM-SM-'=^^M-{$M-_^VM-\0..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "M-^RM-}&^P[M-^_M-POM-^]M-fM-f@M-\fM-WM-_6WM-WM-nM-^XfJM-J..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "M-h^Y3^?UQw" isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "^N^N^F,C^FM-x" isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "^DM-ZM-I];wZM-^PM-%rM-3M-9 M-QM-^YM-q1M-b;$M-{M-:8K!M-\\..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "8M-Kr>cM-%M-#pq2|M-\0M-?M-|M-,M-xM-Ke)M-&M-^M-BM-dM-^WG^[..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "KM-}M-/M-^Z*M-^NM-eM-g^ZM-5\rM-CM-_'}M-^YM-SM-8\0]M-uM-e..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "eAhBBK^P^E^TM-^DM-^D EM-^P^DPl(M-^HM-\nM-X tT^T^D^K=" isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "MM-W^QM-BKM-rM-mM-^IM-^B^A~8k0SlvM-0M-GM-XM-?M-MeM^?M-eM-S..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "M-}M-^VO^F^[M-%.M- M-tM-uM-tM-u=b'M-Q^^M-Nq~mM-3^S>\r]M-e..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "aM-^XM-5^V/M-BM-\nnM-R3UU^Q^SM-;M-^[M-Pl^_\fM-^AMM-<^^M-f..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "M-$M-FMM-'M-ZM-/2^FM-.M-XM-^C?8M--M-\\sM-9ueM-1M-3M-GYM-Z..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "M-F@^W$M-R^M-^WutM-VM-EM-LM-VM-^ZM-^VM-BM-^XM-|M-^XM-hM-^E..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "kM-^]M-oM-/!M-P\r^OQq^ZDB^YM-1M-HZlM-P6>^_|^EM-hM-?^F\0a..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "M-$-M-nM-*M-^RDM-^KlOM-uM-9^^F)M-^VM-^^M-0M-H^SM-r`^EM-\\..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument "kM-WM-^[^EM--M-pM-U&8 M-:^?M-+M-r_M-[M-hM-*^Q<<^HyM-MIM-^D..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
Argument ""M-YM-y3^FM-dNM-'M-xBaWM-aAM-\0M-WM^O^Q7M-TM-^Nk6M-^E+M-t..." isn't numeric in numeric ge (>=) at ./webmin-lib.pl line 2158.
...
Use of uninitialized value in string eq at /usr/local/webmin/acl/edit_user.cgi line 345.
Use of uninitialized value in string eq at /usr/local/webmin/acl/edit_user.cgi line 345.
Use of uninitialized value in string eq at /usr/local/webmin/acl/edit_user.cgi line 345.
Use of uninitialized value in string eq at /usr/local/webmin/acl/edit_user.cgi line 345.
[06/Mar/2016:20:31:59 -0700] Reloading configuration
Use of uninitialized value $expmsg in concatenation (.) or string at /usr/local/webmin/acl/edit_user.cgi line 142.
Use of uninitialized value $user{"proto"} in concatenation (.) or string at /usr/local/webmin/acl/edit_user.cgi line 154.
Use of uninitialized value $user{"notabs"} in int at /usr/local/webmin/acl/edit_user.cgi line 188.
Use of uninitialized value in split at /usr/local/webmin/acl/edit_user.cgi line 258.
Use of uninitialized value in split at /usr/local/webmin/acl/edit_user.cgi line 280.
Use of uninitialized value $user{"days"} in string eq at /usr/local/webmin/acl/edit_user.cgi line 286.
Use of uninitialized value in split at /usr/local/webmin/acl/edit_user.cgi line 293.
Use of uninitialized value in split at /usr/local/webmin/acl/edit_user.cgi line 294.
Use of uninitialized value $user{"hoursfrom"} in string eq at /usr/local/webmin/acl/edit_user.cgi line 295.
Use of uninitialized value in string eq at /usr/local/webmin/acl/edit_user.cgi line 345.
Use of uninitialized value in string eq at /usr/local/webmin/acl/edit_user.cgi line 345.
...
Use of uninitialized value in string eq at /usr/local/webmin/acl/edit_user.cgi line 345.
Use of uninitialized value in string eq at /usr/local/webmin/acl/edit_user.cgi line 345.
Use of uninitialized value in string eq at /usr/local/webmin/acl/edit_user.cgi line 345.
Use of uninitialized value in concatenation (.) or string at /usr/local/webmin/acl/edit_user.cgi line 346.
Use of uninitialized value in string eq at /usr/local/webmin/acl/edit_user.cgi line 345.
Use of uninitialized value in string eq at /usr/local/webmin/acl/edit_user.cgi line 345.
...
Use of uninitialized value in string eq at /usr/local/webmin/acl/edit_user.cgi line 345.
Use of uninitialized value in string eq at /usr/local/webmin/acl/edit_user.cgi line 345.
Use of uninitialized value in string eq at /usr/local/webmin/acl/edit_user.cgi line 345.
Error: Access denied : User admin is not allowed to use the module
Error: Access denied : User admin is not allowed to use the module
Error: Access denied : User admin is not allowed to use the module
[06/Mar/2016:20:34:17 -0700] Reloading configuration
Use of uninitialized value $newoverlay in string ne at /usr/local/webmin/change-user/change.cgi line 87.
Use of uninitialized value $oldoverlay in string ne at /usr/local/webmin/change-user/change.cgi line 87.
Use of uninitialized value in split at ./webmin-lib.pl line 1621.
Error: Access denied : User admin is not allowed to use the module
Use of uninitialized value $mode in chop at ./webmin-lib.pl line 1699.
[07/Mar/2016:06:21:30 -0700] miniserv.pl started
[07/Mar/2016:06:21:30 -0700] Using MD5 module Digest::MD5
[07/Mar/2016:06:21:30 -0700] PAM initialization of Authen::PAM failed
Error: Access denied : User admin is not allowed to use the module
Error: Access denied : User admin is not allowed to use the module
Use of uninitialized value $expmsg in concatenation (.) or string at /usr/local/webmin-1.790/acl/edit_user.cgi line 142.
Use of uninitialized value $user{"proto"} in concatenation (.) or string at /usr/local/webmin-1.790/acl/edit_user.cgi line 154.
Use of uninitialized value $user{"notabs"} in int at /usr/local/webmin-1.790/acl/edit_user.cgi line 188.
Use of uninitialized value in split at /usr/local/webmin-1.790/acl/edit_user.cgi line 258.
Use of uninitialized value in split at /usr/local/webmin-1.790/acl/edit_user.cgi line 280.
Use of uninitialized value $user{"days"} in string eq at /usr/local/webmin-1.790/acl/edit_user.cgi line 286.
Use of uninitialized value in split at /usr/local/webmin-1.790/acl/edit_user.cgi line 293.
Use of uninitialized value in split at /usr/local/webmin-1.790/acl/edit_user.cgi line 294.
Use of uninitialized value $user{"hoursfrom"} in string eq at /usr/local/webmin-1.790/acl/edit_user.cgi line 295.
Use of uninitialized value in string eq at /usr/local/webmin-1.790/acl/edit_user.cgi line 345.
...
Use of uninitialized value in string eq at /usr/local/webmin-1.790/acl/edit_user.cgi line 345.
Use of uninitialized value in concatenation (.) or string at /usr/local/webmin-1.790/acl/edit_user.cgi line 346.
Use of uninitialized value in string eq at /usr/local/webmin-1.790/acl/edit_user.cgi line 345.
...
Use of uninitialized value in string eq at /usr/local/webmin-1.790/acl/edit_user.cgi line 345.
Use of uninitialized value in string eq at /usr/local/webmin-1.790/acl/edit_user.cgi line 345.
Use of uninitialized value $lockbox in concatenation (.) or string at /usr/local/webmin-1.790/acl/edit_user.cgi line 142.
Use of uninitialized value $expmsg in concatenation (.) or string at /usr/local/webmin-1.790/acl/edit_user.cgi line 142.
Use of uninitialized value $user{"notabs"} in int at /usr/local/webmin-1.790/acl/edit_user.cgi line 188.
Use of uninitialized value in split at /usr/local/webmin-1.790/acl/edit_user.cgi line 258.
Use of uninitialized value in split at /usr/local/webmin-1.790/acl/edit_user.cgi line 280.
Use of uninitialized value $user{"days"} in string eq at /usr/local/webmin-1.790/acl/edit_user.cgi line 286.
Use of uninitialized value in split at /usr/local/webmin-1.790/acl/edit_user.cgi line 293.
Use of uninitialized value in split at /usr/local/webmin-1.790/acl/edit_user.cgi line 294.
Use of uninitialized value $user{"hoursfrom"} in string eq at /usr/local/webmin-1.790/acl/edit_user.cgi line 295.
Use of uninitialized value in string eq at /usr/local/webmin-1.790/acl/edit_user.cgi line 345.
Use of uninitialized value in string eq at /usr/local/webmin-1.790/acl/edit_user.cgi line 345.
...
Use of uninitialized value in string eq at /usr/local/webmin-1.790/acl/edit_user.cgi line 345.
Use of uninitialized value in string eq at /usr/local/webmin-1.790/acl/edit_user.cgi line 345.
Use of uninitialized value in concatenation (.) or string at /usr/local/webmin-1.790/acl/edit_user.cgi line 346.
Use of uninitialized value in string eq at /usr/local/webmin-1.790/acl/edit_user.cgi line 345.
...
Use of uninitialized value in string eq at /usr/local/webmin-1.790/acl/edit_user.cgi line 345.
Use of uninitialized value in string eq at /usr/local/webmin-1.790/acl/edit_user.cgi line 345.
Use of uninitialized value in string eq at /usr/local/webmin-1.790/acl/edit_user.cgi line 345.
Use of uninitialized value $minsize in numeric lt (<) at ./acl-lib.pl line 1755.
Use of uninitialized value in split at ./acl-lib.pl line 1758.
Use of uninitialized value in string eq at /usr/local/webmin-1.790/acl/save_user.cgi line 164.
[07/Mar/2016:22:55:42 -0700] Reloading configuration
Error: Access denied : User root is not allowed to use the module
Use of uninitialized value in split at ./acl-lib.pl line 2174.
Use of uninitialized value in split at ./acl-lib.pl line 2174.
[07/Mar/2016:22:56:20 -0700] Reloading configuration
Status:
Closed (fixed)
Comments
I have never encountered that.
if you get this message, then I would expect, this message to be produced by Webmin core and not the theme. The theme injects its data to the module/page that you don't have access to. Go to the Webmin Users and check if your user (admin) can access Webmin Configuration module?
Submitted by JamieCameron on Sun, 03/13/2016 - 15:44 Comment #2
Is there a page in the theme that links to or accesses the Webmin Configuration module though?
Jamie, as it's known, theme settings are injected under
Webmin->Webmin Configuration->Themes
and thus require `webmin` module enabled.Just for fun I changed the theme back to the framed theme and back again, same error. What do you all make of that nasty log file?
Submitted by JamieCameron on Sun, 03/13/2016 - 21:40 Comment #5
The most confusing line in the log is
Error: Access denied : User root is not allowed to use the module
- because it is missing the name of the module that was denied!The theme settings link on the left menu in the Authentic theme should just link to
/webmin/edit_themes.cgi
, which you can also access by going to Webmin -> Webmin Configuration -> Webmin Themes. If you go to that page, do you get the same error?No I don't get the same error. I am able to hit that page to change the themes. It's only when trying to edit the theme settings. I just borked my install though. I deleted the authentic theme and then downloaded the latest from github. I installed it and when activating received this:
Error - Perl execution failed
Can't locate JSON.pm in @INC (you may need to install the JSON module) (@INC contains: authentic-theme/lib /usr/local/webmin-1.791 /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2/darwin-thread-multi-2level /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 . /usr/local/webmin-1.791/ ..) at /usr/local/webmin-1.791/authentic-theme-master/index.cgi line 15.
BEGIN failed--compilation aborted at /usr/local/webmin-1.791/authentic-theme-master/index.cgi line 15.
The folder for the theme should not contain
-master
.Actually in normal case scenario you should get the warning and explanation about renaming the theme's directory.
You should've installed the theme from the .build directory from GitHub.
I just downloaded the zip archive on github and then uploaded the zip file through the webmin page. That is how the instructions said to do it on the github page. No matter now. I just downloaded a clean version of webmin to reinstall. Tried to change the theme settings and get the same error. .
You should get .gz not .zip. On the log I saw the directory with
-master
, I mentioned above.Yeah, perhaps it's misleading. I went here: https://github.com/qooob/authentic-theme and there is a button that says "Download ZIP" but I guess now it's just a matter of figuring out what's up with that module error. I'd like to be able to make changes and set it to auto update.
Jamie asked about going to the edit themes page. Funny thing is I can go to that page to change a theme but the first tab "Current Theme" is missing like I get on the CentOS servers. The CentOS server has a spinner on that tab as it loads. On MacOS X it does not give the spinner or the tab. It just throws the error.
@Steffan No, it's incorrect. Here is the link for downloading it: https://raw.githubusercontent.com/qooob/authentic-theme/master/.build/au...
So, um, bump! Anyone have any idea on this? Jamie, I can re-enable ssh for you if you're ready.
Ilia, on the edit themes page, the tab with the spinner doesn't even come up for settings. What causes that?
Steffan,
Authentic Theme shouldn't be located at
authentic-theme-master
folder as seen in your logs but inauthentic-theme
.Try deleting cloned version first and re-install it using provided link.
I'm already past that point. I told you I deleted all of it and reinstalled on 3/14. I used the version that is installed with the latest Webmin. So, back to what I was saying. What would cause the tab with theme settings not to come up on
http://localhost:10000/webmin/edit_themes.cgi
?Alright, sorry I probably missed it.
Do you see left menu when trying to go to theme's settings (edit theme page) or you open it in new window?
What browser are you using? Did you try other browser?
I'm using Chrome but tried Firefox too. There is nothing in the left menu either on a Linux server or on my Mac laptop through Webmin. It's when I go to Webmin > Webmin Configuration > Webmin Themes. I should see a "Current Theme" tab but it doesn't load up. I do get the other tabs. When I click on the cogs in the left tool bar at the bottom, I get that error. It links to
http://localhost:10000/webmin/edit_themes.cgi
Steffan,
Theme is not meant to work without left menu. I could probably make it work but I see no reason in doing it. Why in the World do you prefer to access
http://localhost:10000/webmin/edit_themes.cgi
directly?Can you type in URL
http://localhost:10000
, then when the whole theme (with left menu, see YouTube Presentation) load, start typingauthentic
in the left search bar and you will get configuration link. Click on it and you will get all that you need. I have MacBook with latest iOS, all is working fine on local machine?I think we're misunderstanding each other. I use the left menu pane. I thought you meant there was a link in the Webmin menu to go directly to settings. No, I use that button you put on the details page or the cog wheels in the lower left. I only provided the URL so you know what pages I am on where the error occurs. I'll make a screencast and attach it so you can see the problem.
Oh, yes please!!
I couldn't upload it to this site but you can download it here: http://execuchoice.com/files/private/Screenflick%20Movie.mov.zip
Did you see the issue?
Wow! That's interesting! I think I know why this is happening. I also have Mac and will be able to fix it on the next release. VideoScreencast almost always 100% more informative! :)
Question to Jamie: Why on MacOS
Webmin
module's dir is calledWebmin
and notwebmin
as standard??@Steffan Please go to theme's dir/unauthenticated/js, find authentic.js.min and:
Find:
/webmin/edit_themes.cgi
Replace:
/Webmin/edit_themes.cgi
Save the file and hard reload the browser.
Does it work now on your Mac? ;)
Ok, this is a partial fix. The cogs still cause the same error however going through Webmin > Webmin Configuration > Webmin themes, the "Current Theme" tab shows up now. I'm surprised it's a case issue since OS X is a case INsensitive OS. Perhaps the miniserv.pl is.
The theme's code is case sensitive. :)
Jamie, do we have two different
W(w)ebmin
modules?@Steffan Actually OS X can be case sensitive.
http://apple.stackexchange.com/a/22304/28227
I've seen that before. You have to explicitly select that FS for case sensitivity and format your drive accordingly before installing the OS. I can honestly say I don't know anyone who has done that on a Mac. I'm surprised that there is something with a capital in a file name!
Submitted by JamieCameron on Thu, 03/17/2016 - 22:30 Comment #30
Ok, the problem here is that in the standard Webmin package, there are directories named both
webmin
(for the Webmin Configuration module), andWebmin
(for perl modules for UI components). I will fix this in the next release.So it's not the theme, right Jamie?
Submitted by JamieCameron on Thu, 03/17/2016 - 23:58 Comment #32
I don't think so - although it is odd that this doesn't happen when the old theme is used?
Maybe old themes have workaround for this?
You mentioned that you're going to fix it? What should I do?
Has it been fixed with Webmin 1.801 and Authentic 18.00?
I was shocked to see that Webmin finally updated itself. It shows the correct memory but still shows the wrong OS version.
Authentic theme will not update itself. It sat there spinning all night long and did nothing.
Trying to configure the theme yields "Access denied : User admin is not allowed to use the Webmin Configuration module"
Whoa! After the update, I can't see the webmin config module! WTH?!
Deleting everything and reinstalling helped. I was able to update the theme and I have the latest. Did you guys get this to work with PAM? Is it by design that you don't have CPU or Local Disk Space displays?
Submitted by JamieCameron on Sat, 06/04/2016 - 14:48 Comment #39
CPU and local disk should be displayed, if you're on an OS where Webmin knows how to fetch them (typically Linux or BSD).