Latest Server related questions

Score: 0
Set screen col width automatically
za flag

Can I use .screenrc or command line arguments to start screen with a width of 100? Currently I start screen then run the width command every time.

screen
screen -X width -w 100
Score: 0
Centos 7.9 python3 cant find modules installed via yum
us flag

My stub python3 program cannot find the "pytz" module:

[me@mybox]$ uname -a
Linux portal2 3.10.0-1160.53.1.el7.x86_64 #1 SMP Fri Jan 14 13:59:45 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
[me@mybox]$ cat /etc/redhat-release 
CentOS Linux release 7.9.2009 (Core)
[me@mybox]$ 
[me@mybox]$ cat t2b.py
#!/usr/bin/env python3

import sys
import datetime
import time
import pytz

from datetime import datetime, ...
Score: 0
oauth2 on office365 smtp with curl error 530 5.7.57 Client not authenticated to send mail
in flag

I am using this curl:

curl -vvv --url 'smtp://smtp.office365.com:587' \
--ssl-reqd \
--mail-from "$user" \
--mail-rcpt "$destuser" \
--upload-file ./mail.txt \
--oauth2-bearer $accesstoken

to try to send an email from an account where I registered an oauth application with these Graph Permission - Delegated Permissions

SMTP.Send
Mail.Read
Mail.Send
openid
offline_access

but I always get error: 5 ...

Score: 1
How to add sticky bits via puppet?
ec flag

I would like to make sure the files that get added to a certain directory inherits the parent directory's permission and that permission never changes. I guess it's called sticky bit but cannot find a way to do this via puppet. Any info would be much appreciate it. I just need something beside exec to do this and I would be adding this to my init.pp. Thank you

Score: 0
OpenSCAP on Debian 11
ng flag

Building out and SIEM server on a Debian 11 OS. Does anyone know when the package libopenscap8 will become available? After reviewing the packages available for Debian servers, I found it was available for the Debian 10 OS. I really don't want to redo all the work I have completed to have to reinstall Debian 10.

Score: 1
How does SASL know to read config from /etc/postfix/sasl?
in flag
Dom

I've set up Postfix to authenticate with SASL on a Ubuntu based system. I've done this by following along with some recipes, but mostly readying a lot of the docs.

One bit that works, but which I don't understand how it works is based on a recipe from the postfix website. I have created the file /etc/postfix/sasl/smtpd.conf, which I understand is a SASL, not Postfix, configuration file. How does SASL kn ...

Score: 2
Switching from WDS to MDT
sg flag

I am in the process of moving from WDS to MDT. I will be installing MDT alongside WDS on the same box. The concept I am not grasping is at what point in this process will clients pxe boot to the MDT service instead of the already established WDS instance?

Thanks in advance!

Score: 0
Nginx upgrade getting [Errno 14] HTTP Error 503 - Service Unavailable
cn flag

We have Nginx server installed for *Elasticsearch. We need to upgrade the Nginx from 1.16 to 1.20. Trying the mainline version. Used the repo script from Nginx.org page. Created a repository in the folder /etc/yum.repos.d/nginx.repo

name=nginx_mainline_repo
baseurl=http://nginx.org/packages/mainline/centos/7Server/x86_64/
gpgcheck=1
enabled=1
gpgkey=file:///home/<directory>/nginx_signing.key
modu ...
Score: 0
Kamil Bu avatar
Linux server nrpe nagios check_procs process state monitoring - need info, when process is restarted
mx flag

I need to be informed by nagios when a process on a remote server is restarted.

The only thing I do not know how to do is to check its process state, and what way to do it?

I got in remote server this nrpe command for now: ./check_procs -c 1: -a "/usr/local/yyyprogram/sbin/XXXdaemon" -s Sl but this process must work all the time, has own mechanism to restart, and this is the only thing I need to k ...

Score: 0
Vahid Alimohamadi avatar
Publishing nova (libvirt) metrics using ceilometer agent
kz flag

I've migrated my openstack lab from kolla-ansible and have deployed 3 ceilometer and one gnocchi units using juju. And this is my ceilometer pipeline.yaml file:

sources:
  - name: meter_source
    meters:
     - "*"
     sinks:
      - meter_sink
sinks:
  - name: meter_sink
    publishers:
     - gnocchi://
     - https://example.com/post
export pipeline=$(cat ./pipeline.yaml)
juju config ceilomet ...
Score: 0
cre8toruk avatar
IIS10 SSL Renewal cert disappears
in flag

we were notified by GD that our wildcard SSL cert would be expiring and they helpfully have supplied a new one.. .I say new one I mean 3 files (a .crt, a .pem and a .p7b though I've no idea what the latter two are).

I can't believe it's quite as complicated as it appears to be... I thought I could just right click on the expiring cert, click renew... the select complete certificate request provid ...

Score: 0
Re-route all internet traffic through firewall
cn flag

I'm setting up a dual firewall setup with a DMZ and an internal network. The servers are dedicated root servers running Debain Bullseye, all necessarily having a NIC with a public IP. In addition, servers in the DMZ have a second NIC going to a switch.

Another dedicated root server is setup as firewall (pfSense), attached to the same switch. Now I want to route all incoming traffic from each dedi ...

Score: 0
DevOpsSauce avatar
Why does extracting a large .zst file cause another server with a cifs mount to come to a halt?
jp flag

I have a large .zst file I need extracted on a backup server running CentOS. I begin to extract the file using zstd -d file_name.zst. I was going to then do tar -xvf file_name once that finished. Everything seemed to be going normally.

I have an Ubuntu server that has a directory on the CentOS server mounted. What I don't understand is how this would make that server slow down. As soon as I killed th ...

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.