Latest Server related questions

Score: 0
Azure ADDS o365 same Domain
hu flag

HI iam pretty new to Azure and wanted to implement Azure ADDS for ldap authentification for example wpa2 enterprise and vpn.

Our setup :

We are completly on O365 so nothing on premise our standard domain for email is our own mycompany.com

Now i folowed the microsoft tutorial to setup Azure adds and used the same domain we use in our O365 mycompany.com I bought a certificate and enabled secure ldap But  ...

Score: 0
samtech avatar
Httpd Directory read permissions only issue
us flag

In my scenario ,I need the 'httpd' directory in '/var/log/' to be readable by the users in 'devs' group (Amazon Linux 2) Could anyone guide me how to accomplish this?

We have a few developers who maintain the system and I want them to easily read the log files in /var/log/httpd without needing root access.

can this will help ??

chmod -R go+r /var/log/httpd

or chmod -R go+rX /var/log/httpd

or do i  ...

Score: 0
Jananath Banuka avatar
How to Remove world write permissions in Linux
cn flag

I got this vulnerability report where it says I Remove world write permissions.

So I tried to find the files with write permissions using the below command:

find / -perm -0002 -type f

And my output looks like below (I have removed most of the output, but all these outputs are for the two directories /proc and /sys

...
/proc/235399/attr/fscreate
/proc/235399/attr/keycreate
/proc/235399/attr/sockcreate ...
Score: 0
Dns multiple server forwarding
in flag

I have host name ftp.example.com

Can it be redirected by DNS to different servers For example ftp://ftp.example.com to server 192.168.xx.1 https://ftp.example.com to server 192.168.xx.2

Score: 0
serverstackqns avatar
Variables on set-hostname and mv command in shell script
cn flag

I have the below script in Shell:

read n
for ((i=1;i<=$n;i++))
do
echo "Connecting to $publicip"
ssh -i ./key.txt root@$publicip 'hostnamectl set-hostname autotest$i.domain.com && mv /etc/letsencrypt/live/autotest.domain.com /etc/letsencrypt/live/autotest$i.domain.com && reboot'
done

mv command makes use of a variable from the above commands. But it doesn't seem to be working. What  ...

Score: 0
the_c avatar
DNS Peer domain hand-off
us flag

I have a bunch of sites that all have their own independent local DNS, i also have a centralized environment that provides services for these independent sites.

I don't want to centralize DNS in the "centralized environment" because DNS needs to remain local, but i want to be able to access things in the centralized environment via DNS without having to add entries to every one of the individual  ...

Score: 0
melk avatar
What is the ideal value for threads on thread_pool in nginx config?
gr flag

I have a machine with 2x CPU 24 Cores, 48 Threads

Total: 48 Cores, 96 Threads.

My nginx default configuration came configured with threads=32

thread_pool pool_name threads=32 max_queue=0;

Should i change my nginx config file from threads=32 to threads=96?

Score: 0
Satish Lamak avatar
How to pass https requests to http in nginx
jp flag

I have a self signed certificate, I deployed my front end react app on nginx which is served by using HTTPS but front end is making call to back-end spring-boot app over HTTP and when i check inspect element in browser it is showing Mixed_Block. Please assist how can i solve this problem.

Thanks in advance.

Score: 0
Edwin Mwangi avatar
df -h shows / is 100% but du -sh * is not showing where the utulization is
ru flag

OS: Oracle Linux 7.5

df -h keeps showing that / is 100% full but searching on / with du -sh * is not showing where that utilization could possibly be, any help and suggestions will be appreciated. I also can't install lsof coz of the space issue.

[root@ /]# df -h
Filesystem                                    Size  Used Avail Use% Mounted on
devtmpfs                                       32G     0   32G   ...
Score: 1
Tuning ZFS for bursty sequential writes
pf flag

This is a follow-up to: High speed network writes with large capacity storage. The setup has changed notably.

I have a pool with a single raid-z2 with 6 drives, all Exos X18 CMR drives. Using fio and manual tests I know that the array can sustain around 800 MB/s sequential writes on average this is fine and in-line with the expected performance of this array. The machine is an Ryzen5 Pro 2400 GE (4C/8T, 3 ...

Score: 0
How setup wireguard + nixos to access servers (PostgreSQL, nginx) from workstation?
ma flag

I wanna give access to operators using wireguard to services like PostgreSQL, nginx, ssh, etc without giving the public IP of the host.

I use nixos, but a plain setup with wireguard + iptables can work for me.

The tunnel is established and packets are transferring, as shown (on the server):

❯ wg
interface: wg0
  public key: k4lOk+/rXONPolNI...
  private key: (hidden)
  listening port: 51820

pee ...
Score: 0
Marty Cagas avatar
Can PAM be used with Postfix and Dovecot SASL?
ae flag

I have set up Postfix to use Dovecot SASL with PAM and Unix users, and Dovecot LDA (LMTP) for local mailbox storage. After some testing, turns out incoming mail gets declined with the reason:

Error: passdb lookup failed for [user]: Configured passdbs don't support credentials lookups

That's both troublesome and troubling - I opted for PAM-based authentication because all sources I found suggested  ...

Score: 0
SIOCDELRT: No such process when deleting default route from secondary interface on Ubuntu
ai flag

I'm trying to remove the automatically-generated default route for a particular interface on an Ubuntu machine.

I have two interfaces, enp0s3 and enp0s8. Default routes are generated for each of them:

  Destination   Gateway         Genmask      Flags     Metric    Iface  
  0.0.0.0       10.0.2.2        0.0.0.0      UG        100       enp0s3
  0.0.0.0       192.168.137.1   0.0.0.0      UG        201 ...

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.