Latest Server related questions

Score: 1
phk avatar
Enforcing 2FA configuration on next SSH login for every user
cn flag
phk

I have found numerous tutorials on how to enable 2FA (TOTP, RFC 6238) but is there also a way to force SSH users to configure it on the first login? (I am using OpenSSH server)

I guess I could create a script that runs everytime and checks whether a .google_authenticator for the particular user exists and if not then runs google-authenticator until it does and then edits /etc/pam.d/sshd (uh-oh), a ...

Score: 1
Can I setup a new W2019 domain on a fresh Server 2019 using KMS for licensing if the KMS isn't available yet?
cn flag

I'm tasked with setting up a Windows 2019 AD environment (new domain) from scratch.
Normally we obtain our server licenses/activation from the company KMS system and we need to do that in this case as well.
Normally I would just install the Windows server without a license. Configure the KMS and get the license/activation working, before I add the AD roles...

But: In this case the new domain is beh ...

Score: 0
Office 365 not syncing correctly after migration from Exchange Server
ru flag

I came here because i do not know what to do anymore. Here's what happened:

We had POP mail, and some Exchange Mail here in my company. All users are using Outlook - It synced with mailex13...exhcange server.

But Exchange and POP mail aren't good enough, so we canceled our contract with the Exchange mail provider and hired Microsoft 365 directly with Microsoft, so now all users can use all resources ...

Score: 0
auto start vm on login and shutdown on logout
cn flag

I have been looking for this all day but can not find an answer anywhere. We have vmware 7 with vmware horizon 7.

We have over 100 vm's running all the time. For 40 of those the users are not assigned but 40 users are assigned to a pool of vm's. So when they login they get assigned a random vm.

I was wondering if there is a way to shut down the vm's, and let them auto start when a user logs into hor ...

Score: 0
matpop avatar
How does Windows establish whether application makes changes to device
vn flag

For applications that trigger the UAC ("Do you want to allow this app to make changes to your device" dialog), which are the characteristics that are detected by Windows in order to decide to trigger UAC? Consider that "Run this program as an administrator" is disabled in the Compatibility tab of the executable/shortcut properties. Does Windows detect paticular data/metadata inside the executable file?  ...

Score: 0
Thijmen avatar
AWS Tag Editor - Region "Africa (Cape Town)" not available in list of regions?
cn flag

In the Tag Editor (Resource Groups & Tag Editor) you can select the applicable regions in the "Select regions" dropdown. Most of the AWS regions are there, but I do not see af-south-1 which is "Africa (Cape Town)". I tried my best to find information about this in the AWS documentation, but so far no luck. If anyone could elaborate on this, that would be greatly appreciated.

Edit: I should note that ...

Score: 0
NeitoFR avatar
How to identify which MSI installation is in progress that throw the error message : "Another program is being installed."
cn flag

We're building Automation deployment through Ansible that have several .msi to install. And we encountered, rather randomly the following error message during deployment :

Another program is being installed. Please wait until that installation is complete, and then try installing this software again.

Our goal is to trigger a retry time out whenever this occur and provide a logging message that will de ...

Score: 0
nginx 404 .php extension with fpm
eg flag

When I visit a non-existent url with .php extension I get a ngnix 404 error page, however url without .php extension it works as expected using the try_files. Where the 404 is handled via php application.

It has happened since I added this code as suggested

fastcgi_split_path_info ^(.+?\.php)(/.*)$;
if (!-f $document_root$fastcgi_script_name) {
    return 404;
}

Reason for adding this was to fix erro ...

Score: 1
Joachim Wagner avatar
kvm and libvirt: hotplug virtual disk as USB storage
sz flag

Observations

(1) A new virtual disk can be hot plugged into a KVM/qemu VM as a qemu virtio device, e.g. see question KVM and Libvirt - How do I hotplug a new virtio disk?. However, this requires PCI hot-plugging support from the guest OS and this is not always available.

(2) Hot plugging of USB storage is well supported in many systems and there are guides how to forward a physical USB disk to a guest VM, ...

Score: 0
mhusaini avatar
microk8s: pod resource usage metrics not available from all nodes
in flag

I am running microk8s v1.22/stable on a Linux cluster with 11 nodes. I have enabled the metrics-server plugin and installed Prometheus via the Helm chart with nodeExporter and kubeStateMetrics enabled. I get all sort of other metrics, but I have noticed that pod metrics (e.g., container_cpu_usage_seconds_total) are available for pods running on just one of the nodes. I didn't notice anything special a ...

Score: 0
Muhammad Shafiq avatar
Apache server is very slow for high traffic
sa flag

I am using Apache 2 on AWS ec2 instance. I have application load balancer with 2 instances/servers attached to it. Each instance type is m5.8XLarge.

My application is developed in Laravel, I am using RDS.

I am having 300,000 visitors per day and 10,000 visitors at a time. My website is very slow and initial server response time is very high upto 8 sec.

Note: I can not use autoscalling because my conten ...

Score: 1
What path on disk does a containerd snapshot key map to?
in flag

I want to remove a snapshot from a node in our Kubernates cluster:

/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/NNNN

But I am unable to map this path to any snapshots as reported by ctr -n k8s.io snapshots list. I have tried the usage command, but the INODE does not seem to map to the NNNN entry in the snapshots directory, because the "usage" list is not a subset of the entries  ...

Score: 1
Ignacio Soler Garcia avatar
Windows 10 configured with RAW discs to increase Hyper V performance takes minutes to boot
in flag

Long story short:

If I configure discs on the machine as a RAW partition so Hyper V works directly with them to increase performance then the machine takes minutes to boot with the blue circle going in rounds. If I put the discs offline then it boots in seconds.

Any ideas on how to avoid this?

Score: 0
sambit avatar
How to define www.*.abc.example.com wildcard domain in nginx server block?
in flag

I want to define my own domain something like this - www..abc.example.com in nginx server blocks . i have tried to do like this - www(.).abc.example.com * & it throws error like - nginx: [emerg] invalid server name or wildcard "www(.*).abc.example.com" on 0.0.0.0:443

Score: 0
samtech 2021 avatar
Unusual traffic Issue in AWS
th flag

I've observed some unusual traffic from an IP address from Nov 9 through Dec 10 in our application logs. We're not seeing the ip address associated with any of our instances currently. This IP was making requests that increased usage data for a client of ours. We'd like to be able to state correctly that it was a bot, and not some testing tool malfunctioning on our side. Doing a quick review of CloudTra ...

Score: 0
Automount second encrypted drive without password
ru flag

I'm attempt to mount a second encrypted drive at boot by getting the password from a TPM device. I'm on Ubuntu 20.04.

The second drive as well as the first are in LVM as physical volumes. Both volumes are in the same volume group.

I followed the instructions here.

There is an entry in /etc/crypttab for the second drive:

nvme1n1_crypt UUID=64bcbd3e-a6e8-43e6-884c-dbf6189a8ecc none luks,discard,k ...

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.