Latest Server related questions

Score: 0
How to force delete directory backed by Gluster that will not delete even when using -r option
cn flag

Hi trying to delete a directory and no mater what I try I get: rm: cannot remove 'wont_delete/delete': Directory not empty

I'm running sudo rm -vr wont_delete/

The directory is on gluster fs.

Edit: Also tried sudo rm -vrf wont_delete/

Score: 0
Does Apache Guacamole support VNC Connection with GNUTLS?
it flag

Currently I've working on my custom Remote Desktop Service which is strongly based on Apache Guacamole. I want my whole session encrypted with TLS when I enter Guacamole and connect to my PC with a TigerVNC server installed.

There are three connections that need to be covered with TLS;

First is HTTP Access to the Guacamole Page. Second is the connection Guacamole client and Guacamole Server. Last is ...

Score: 0
How to set up a SSH reverse proxy?
tr flag

I have a project whose goal is to make a script that analyses incoming SSH traffic and redirects it to the targeted server as well as several mirror SSH servers for control and intrusion detection.

For that, I need a SSH reverse proxy that is able to decrypt incoming SSH traffic and log it in cleartext so that my script can process it.

What's the simplest way of doing that ? I've tried using ssh-mit ...

Score: 1
itocdw avatar
How to remove OneDrive via PowerShell
iq flag

Just wondering if anyone can successfully uninstall OneDrive using PowerShell on Windows 10/11. The uninstall flag on the executable doesn't remove it even if processes are killed first.

OneDriveSetup.exe /uninstall

The command doesn't appear to be doing anything. Need to uninstall the OneDrive that comes with the OS to install it in a way that its compatible using the machine wide installer Azure V ...

Score: 0
SentientBacon avatar
Allow routed connections with default INPUT policy of DROP
cn flag

I have a Raspberry Pi that I'm using as a router via IP forwarding + NAT masqueradeing (basically following the guide from the documentation). I would like to setup my iptables rules to drop all INPUT and FORWARD packets except for those associated with existing outbound connections from the Pi as well as outbound connections from devices on my LAN that have been routed through the Pi.

I've set up  ...

Score: 1
Rino Bino avatar
Where is Jenkins CLI .jar file stored on the server?
us flag

I am using the Jenkins CLI in a script for some Jenkins automation (https://www.jenkins.io/doc/book/managing/cli/).

According to the docs, you have to first download the .jar from the Jenkins host.

Currently I am doing this by running wget http://localhost:8080/jnlpJars/jenkins-cli.jar

However I would like to reduce the amount of steps in my script, so I would like to skip that download step and j ...

Score: 1
How to install a validated SSL certificate on Ubiquiti UniFi Network Application (Controller) running on Linux
cn flag

I want to replace the self signed Unifi certificate used for the web interface of the UniFi Network application / server v6.5 (on Ubuntu 18 Linux) with a signed (wildcard) certificate and private key I already have.

Where should I put the private key, where the cert and how do I configure the UniFi Network Application / Controller to use this cert?

I found some information but none of them worked fo ...

Score: 0
Rsync: Exclude files by maximum filename length (< 143 characters)
je flag

A cronjob copies files from a remote server (probably ext4) via rsync to a local encrypted partition (probably eCryptFS on top of ext4).

Now rsync throws errors for filenames that are longer than 143, which is expected due to the way filenames are encrypted on the target.

Since I can't change those parameters, I can't influence the files to be backed-up and there's only a handful of those that fai ...

Score: 0
iraqiboy90 avatar
apache behind varnish; htaccess deny rules ignored
de flag

So, I have a wordpress website running behind nginx -> varnish -> httpd

The htaccess rule for wp-login.php is set as:

<Files wp-login.php>
allow from client ip
deny from all
</Files>

This used to work fine without using varnish, but when I put varnish in the middle between nginx and httpd, this caching issue or IP forwarding issue started happening.

Since I can easily change the  ...

Score: 0
Brian S avatar
Rejecting null sender due to rDNS or EHLO/HELO issues
cn flag

I currently do some filtering at the sender address stage for incoming email (not local or authenticated), rejecting or tempfailing based on rDNS existence or EHLO/HELO validation issues. Occasionally, I'll see null sender addresses rejected by those checks, and I'm wondering if I should bypass them in those cases. I've otherwise only ever seen spammers fail those checks, which makes me view null sender ...

Score: 0
Alex avatar
Installing a second disk in ODD via LS-9634P. HP 250 G5
de flag

I'm trying to connect an HDD drive through the Lenovo LS-9634P board to the JODD connector on an HP 250 G5 motherboard. Power adapter from board to drive: SlimSATA Male 7+6 13pin - SATA Female 7+15 22pin

ODD support in BIOS is enabled. The disk is not identified.

Laptop without DVD drive. The board may not be compatible with the laptop. I didn’t find any compatibility information, but these boards ...

Score: 1
Exchange 2016 Hybrid for AD management only
gb flag

History - 2010 Exch used to migrate all mailbox to O365 in 2013. Been 100% Exchange online since 2013. No mailboxes on prem, no shared mailboxes, no nothing. CAS attritubute set to Null. No SMTP. Nothing.

Everything synced from on-prem to O365 with ADConnect tool.

Exch2010 box was only used to create account because it allowed you to interact with Exch attributes in AD that the default ADUC UI doesn ...

Score: 0
Specify proxied URL based on backend response
kr flag

I've created a reverse proxy for Shopify. I'd like to show users a product depending on the token / code they entered in the URL.

Example: https://myshop.com/customer-product/ABCDEFG

This should call my Ruby on Rails backend, which, based on the URL the user entered, should decide, which Shopify-URL should be served.

Is something like that possible? Or do I have to use some kind of reverse proxy librar ...

Score: 0
Sendmail configuration on AlmaLinux
in flag

I am trying to setup an sendmail server with email domain xeonbridge.com. So any user account I create in Linux, should be username.xeonbridge.com, right?

Sendmail.mc is configured with lines (only changed to suit my setup):

  • define(SMART_HOST', smtp-GreenSpace.xeonbridge.com')dnl
  • DAEMON_OPTIONS(`Port=smtp, Addr=127.0.0.1, Name=MSA, M=Ea')dnl

File /etc/mail/local-host-names is configured with:

  • Gre ...
Score: 1
Xeven avatar
AWS NLB with inbound whitelist IP
in flag

First of all, I'm newbie with docker-compose and AWS services but I have tried to learn about it and prepare it correctly, any advice is welcome.

I need to publish a app with ECS (this part works well, i use a docker-compose to do it. It publish correctly with a elastic public ip and it works) but the access to the app must be limited by allowed IPs. My idea was to publish the app with a public I ...

Score: 0
Migrating reverse proxy settings from Nginx to Apache2
cn flag

until now I have been using Nginx but due to some reasons I have to switch to Apache2. I am not a sys admin so if more info is needed, just ask

I am unable to migrate 1 simple proxy settings to Apache2:

location /auth {
  proxy_pass http://localhost;
  proxy_set_header Host $host;
  proxy_set_header X-Real-IP $remote_addr;
  proxy_set_header X-Forwarded-Proto https;
  proxy_set_header X-Forwarded-For  ...

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.