Latest Server related questions

Score: 0
Daniël van den Berg avatar
Docker swarm HA - restarting manager node while original node is unavailable
cn flag

I've got a network of five docker managers, 1 through 5. (IP addresses x.x.x.101 through 105) The managers all joined with docker swarm join --token xxxx x.x.x.101:2377 As such, I expect to be able to bring two random nodes down, one up again, and have it work. But...

If I bring manager 1 down, then manager 2 down and up again, manager 2 won't come up. My swarm will keep running on manager 3 thro ...

Score: 0
How can I use regex for hostname in ssh_config?
sz flag

So, my local address keeps on changing on my Lan. Can't change the dhcp settings. Addresses are all like: 192.168.A.x, 192.168.A.y, 192.168.A.z. When I switch off the dhcp server, next time it gives 192.168.B.x, 192.168.B.y, 192.168.B.z. It keeps x, y and z constant.

So, i have tried to edit ~/. ssh/config like this

Host pc1
           HostName pc.local
           User xx
           Port 22

Host pc2
 ...
Score: 0
AWS Aurora mySQL vs Aurora postgreSQL
pk flag

We decided to go with AWS Aurora (and not with RDS-MSQL or RDS-PostgreSQL directly)

Ignoring the SQL syntax differences and the different clients that I will use to connect. What are the main points to consider? Mainly on those areas: DR, BCP, Performance, backups, restores, and maintenance efforts.

The DB will be used to replicate the operational DB to let analytics and reports run on it without im ...

Score: 0
How does this RewriteRule allow certain to access a file in a protected folder?
cn flag

I'm trying to understand how this RewriteRule code works:

RewriteRule private/([a-zA-Z0-9]+)$ index.php?bua_v2_pf=$1 [L]
RewriteCond %{REQUEST_FILENAME} -s
RewriteRule content/images/protected(\/[A-Za-z0-9_@.\/&+-]+)+\.([A-Za-z0-9_@.\/&+-]+)$ index.php?bua_v2_pf=$1&direct_access=true&file_type=$2 [QSA,L]

It blocks access to the protected directory but allows certain users to access the ...

Score: 0
Daniel avatar
Auto-Enrollment with manager approval, but auto-approval for re-enrollment
in flag

I have a certificate template (auto-enrolled) that must require manager approval.

To achieve this, I checked the CA certificate manager approval checkbox in the Issuance Requirements tab.

enter image description here enter image description here

The computer does auto-enroll and the certificate is placed on the Pending queue on the CA.

My wish is that once the pending certificate was manually approved, certificates should be renewed, or updated if the ...

Score: 0
Allow only specific people use IP printer
ee flag

In-office we have several printers, which are installed to users, now when we bought another one, there is a task from manager to restrict access for that printer to only 6 people. I have checked GPO, also tried to change security properties, but without success. Also, I know, that there is the possibility to block access on the network, but it is kinda hard because I am not managing the network. Maybe ...

Score: 1
Volker Raschek avatar
RockyLinux: unable to load cifs module
in flag

I have installed RockyLinux 8.5 and am trying to mount a directory via cifs. I get the following error message:

# mount -t cifs -o user=<remarked>,domain=<remarked>,password=<remarked> //<remarked>/backups /mnt/backups
mount error: cifs filesystem not supported by the system 
mount error(19): No such device 
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kerne ...
Score: 0
sintezators avatar
add CORS policy on NGINX server
bz flag

i'm having difficulties adding CORS policy to my NGINX server. I have pointed DNS server to server but the problem in CORS policy is not working. When accessing subdomain.domain.com everything works fine but problem is on location block. domain/path is giving a CORS policy error. Any way to fix this?

no font @has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the ...
Score: 0
MrBungle81 avatar
PfSense: VLAN configuation
cn flag

I have some problem in making VLAN working. My configuration is pretty simple: I have an esx host where I have created a port group for VLAN10. On that host I have pfsense and a windows VM . PfSense has two networks: one on the LAN and another on the VLAN10, while the windows VM as only one netwok card on the VLAN10. The switch has VLAN10 tagged on the ports where the esx host is connected to, and there ...

Score: 0
O'Niel avatar
Can subdomains work without being registered in the DNS records/
in flag

I have made a web-application on my localhost which provides a platform which gives different businesses their own page on that platform. Each business has it's own subdomain.

So, business1.example.com business2.example.com business3.example.com ...

On my localhost, my code just interprets the URL as a string and extracts the subdomain part. If that subdomain is linked to a business in my database t ...

Score: 0
earizon avatar
rsync optimization over --link-dest "referenceBackup"?
cn flag

Context: I am successfully using rsync to create daily incremental and remote backups using the --link-dest "referenceBackup" flag, so that when creating the new backup, only a new reference is created to an existing and unmodified file.

problem: Some directories contain lot off small files (hundreds of thousands), and even the optimization of the --link-dest is not ... "optimal". Most of those "small  ...

Score: 0
PhilHarmonie avatar
How to configure wildcard subdomains together with some fixed names in NGINX?
cn flag

I have example.com and the following use cases:

  • SSL only
  • www. will be redirected to example.com (no www.)
  • example.com will reverse proxy to :3000
  • fix1.example.com will reverse proxy to :3001
  • fix2.example.com will reverse proxy to :3002
  • ...
  • *.example.com will reverse proxy to :4000
  • *.example.com/admin will reverse proxy to :5000
    • example.com/admin, fix1.example.com, fix2.example.com,... will not h ...
Score: 0
OpenVPN: cannot open domain webpages in browser
cn flag

strange problem here!

I am using VPN to connect to my work network (openvpn, hosted by my institution, I'm managing it, so I can make changes). Everything works fine, meaning that all traffic is routed through the VPN as it should (at least it seems so), I have internet access, I can access restricted services (e.g. git, shared folders) that require me to be on the same network etc.

The problem is t ...

Score: 0
hkc94501 avatar
How do I run some commands when linux boots for the first time
cy flag

I want to run some system initialization commands if and only if the system is booting for the first time. Specifically, I want to generate identity keys and submit a CSR for signing. I want to do this only once so the identity cert will remain valid through reboots. I don't want to simply check the filesystem to see if the cert has already been created because if an attacker could write their own cer ...

Score: 0
Nishu Ali avatar
ModSecurity 403, COMODO WAF detects XSS while trying to access phpMyAdmin
ke flag

I have a copy of phpMyAdmin in one of my server in a subdomain 'pma' and inside a directory in it named 'app' (manual installed from zip archive, not via yum), which I use for DB related management and it was working ok for couple of months. A couple of days ago my local IP got blocked while trying to login there and after much digging following log found in /var/log/apache2/error_log (replaced my local ...

Score: 0
Unable access to webex desktop app using tcp mode
mw flag

I'm running haproxy 2.4 and when the haproxy is configured in http mode, i can't access to webex desktop app, says connecting but instead pass to logon page, back to "select webex website".

Switching to tcp mode, everything work correctly.

Also, this problems continues on haproxy 2.5

Config file in HTTP mode:

#  1,5
# CPU(s) 11
global
    log 127.0.0.1 local0
    maxconn 200000
    nbproc          ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.