Latest Server related questions

Score: 0
Gonzalo Etse avatar
When is mapUser required -
ad flag

I'm not sure I understand when & why mapUser is needed.

  • When you generate a keytab with ktpass you can map the Service Principal to a user wit mapUser. You can then kinit to the Service from an other machine using that keytab.

  • When trying the same with ktutils from a linux machine, this is not possible. You simply generate a keytab for the user and kinit to the user.

The SPN setting is th ...

Score: 0
MarkoGM avatar
Why is my Php app not found on Apache2 server?
il flag

I added A record om my company's Cloudflare account. In browser I got

Not Found

The requested URL was not found on this server.
Apache/2.4.41 (Ubuntu) Server at ***.***.dev Port 443

Log files

172.68.50.117 - - [20/Apr/2022:14:57:12 +0000] "GET /nano.php HTTP/1.1" 404 2858 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:99.0) Gecko/20100101 Firefox/99.0"
37.113.176.40 - - [20/Apr/2022:14:57:28 +0 ...
Score: 0
reign avatar
Difference between systemd's "System unit directories" and "User unit directories"
pl flag

I am currently reading the systemd manual page, where under the section directories it discriminates between the unit directory types "System unit directories" and "User unit directories".

I am unsure as to what is meant by this.

In the systemd.unit manual page, the terms "system mode" and "user mode" are used. Are these terms related to the directory path types?

Score: 1
How to align a backup IP block to same Virtual IP definitions as active block?
jp flag

We recently added a backup ISP for our rack. Simply put, in the event that our primary connection goes down we would like to be able to switch to our backup connection. Right now we have primary external addresses pointing to internal addresses through VirtualIPs. Is there a way to have this abstracted so we can change the source IP block without having to change every VIP definition? Best practice for  ...

Score: 0
hightest avatar
AWS Athena Query 2 separate tables together
br flag

I have 2 Tables, and i need to query them together, for example. From the first table i get results with my query: InstanceID, title, status and etc...

From the second one: key, value, region and etc...

I want to make 1 query so i can get the results from both of them.

My 1st query:

SELECT id, status, title, resourceid, accountid
FROM test.awstest01 
WHERE status = 'NoTest' 
AND compliancetype = 'Clo ...
Score: 1
unilock avatar
Setting global DNS + MAC address settings on a Debian-based Linux distribution with systemd-resolved + NetworkManager
in flag

I'm running a Debian-based Linux distribution, specifically Pop!_OS 22.04 (Ubuntu jammy). I'd like to set custom DNS + MAC address settings globally - that is, to be applied to all network connections automatically, new and pre-existing.

Specifically, I'd like to change the following settings:

  • Enable DNSSEC
  • Enable DNS-over-TLS
  • Change my DNS servers to AdGuard DNS
  • Enable MAC address randomization
Score: 0
Autoscaling images with EBS attached
kr flag

We have an AWS EC2 instance that has an EBS gp3 SSD mounted with around 70GB. Sometimes, we do some scp orders to copy new files to this EBS, but for the rest of the time, the instance will only do reading operations in the EBS.

This instance gets requests from internet, and for each requests it has to read 2000 files (1000 of ~ 60kb and 1000 of ~ 414b). Now we want to include this instance in an ...

Score: 0
run_the_race avatar
How to telnet to a unix socket in debian to test memcached
br flag

To test memcached on Ubuntu, I would run this command:

echo "stats settings" | nc -U /run/mydir/memcached.sock

However now I have changed to Debian, and Debian nc does not support the -U option.

I have tried ss, listen, telnet -b /run/mydir/memcached.sock with no joy.

What is the equivalent command in Debian?

Score: 0
Uberhumus avatar
Is there a way to read dmesg.old with absolute timestamps
pk flag

Is there a way, using dmesg or otherwise to see the data in /var/log/dmesg.old with an absolute timestamp? I'm trying to get the same effect as dmesg -T but on older data. I'm using Amazon Linux AMI release 2018.03. The -F option for opening a different file does not work with other options. I've tried -T, -L, -e, and probably a few more. The dmesg version is "dmesg from util-linux 2.23.2".

Score: 0
noname avatar
Ubuntu, apparmor won't stop and i can't kill docker containers
kr flag

Having a bit of a nightmare with apparmor, i can't stop docker containers and apparently it's down to apparmor, which i don't need to be running.

I ran:

sudo systemctl stop apparmor

But i still can't kill the docker containers, apparenly apparmor is still running:

apparmor module is loaded.

64 profiles are loaded.
64 profiles are in enforce mode.
   /snap/core/12603/usr/lib/snapd/snap-confine
   /snap/c ...
Score: 0
trash2 avatar
how to stop that ip requests and how to find that files who start the progress
my flag

i have that problem, that if i take a view over

iftop -i eth0 -o 10s -p -P

command i get a ton of list information

192.168.8.119:ssh   => 192.168.8.98:62424                            5.12Kb  5.60Kb  8.94Kb
                    <=                                                320b    320b    453b
224.0.0.251:mdns    => 192.168.8.98:mdns                                0b      0b      0b
  ...

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.