panel error, operating system icon is not available.
Possible error in the code.
Possible error in the code.
[error] panel error, operating system icon
|
I think this was fixed in a recent patch. To fix now, try opening /etc/zpanel/configs/apache/httpd.conf and change:
Code: ServerTokens Prod Code: ServerTokens OS Before posting, update your profile with your OS, Sentora version and server type!
Jacob detecting the os that way is not good..... we should use prod setting.
M B
No support using PM (Auto adding to IGNORE list!), use the forum.
How to ask 200$ free to start your VPS 60 days credit
We need to look at altering the PHP code to find the installed version another way. Until then it is entirely up to the users if they want to change this setting back. However as @Me.B has said it is NOT advisable to show the world your apache version for security reasons.
It could be even a variable in config file setup post install... this won't be a mess and we could get back os to prod!
M B
No support using PM (Auto adding to IGNORE list!), use the forum.
How to ask 200$ free to start your VPS 60 days credit
httpd -V or apache2 -V can be ran by any user without root privileges so we could use a hard coded command to fetch this safely (would require security testing).
it could be run in install process and output dumped in a file. Why we need to run it each time?
Only during upgrade > update. extract the infos and drop 2 vars in config file: OS + webserver that would do the trick. M B
No support using PM (Auto adding to IGNORE list!), use the forum.
How to ask 200$ free to start your VPS 60 days credit
Server admins could run yum update / apt-get upgrade at any point... Adding yum / apt post install hooks would be playing with people's system far too much. As long as the command running this is completely hard coded and escaped it will be fine, however I'll get you to review the change to make sure we are happy using this method first.
Kevin,
I meant only during zpanel install process not after each yum... Notice apache won't change for a long while on ubuntu / centos and we had to change the whole release to get new apache/php and don't think that next php will be shipped to ubuntu 14/centos 7. Easy and efficient hack to lower privilege we need to run the panel. That's important for security focus. M B
No support using PM (Auto adding to IGNORE list!), use the forum.
How to ask 200$ free to start your VPS 60 days credit
The major version doesn't change however the patch number and minor version numbers do change between yum / apt updates.
You can't do any serious damage if we don't use zsudo to run this command, just use system without privileges: Code: <?php This way we can get the version and there is no way of changing this code via injection as there is no user input. |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Repo update error | hostingms | 3 | 6 ,808 |
02-14-2024, 09:20 AM Last Post: TGates |
|
apt-get install mod_ssl ERROR | CMs222 | 9 | 28 ,285 |
11-11-2022, 09:14 PM Last Post: zustudios |
|
Sentora debug and error files | johnnyp | 0 | 1 ,588 |
10-27-2022, 06:16 PM Last Post: johnnyp |