Latest Server related questions

Score: 0
zerocool avatar
Limited shell for debian
cn flag

I'm looking into a limited shell option for Debian. The idea is to have a shell with limited access and commands for specific users. The user would log in to this shell and have limited access(visibility) to folders/binaries.

I've looked into rbash(easy to bypass) and lshell(deprecated). I've also played with chroot jail but it is not the ideal solution.

Does anybody know of another solution?

Score: 0
achhainsan avatar
User is logged in but who command doesn't list that user as logged in, how to resolve this issue?
qa flag

I'm on centos 7 minimal.

I've duplicated a SSH session at 192.168.169.128 in 2 tabs of mobaxterm.

In first tab, I've logged in as "server1" user. Whereas in second tab, I've logged in as root.

I want to send a message from root to "server1". Expected output is server1 should see that message.

But that's not happening.

The command I am using on root to write a message to server1 is:

write server1

The e ...

Score: 0
jimmymcheung avatar
SELinux support for OpenStack deployment on Rocky Linux 9
ir flag

On the official article for installing openstack on RHEL/CentOS, it has mentioned at the end that one should also install openstack-selinux “to automatically manage security policies for OpenStack services”. Does the same package works for Rocky Linux? The relevant opensource repo of openstack-selinux only updates its policy until RHEL 7, and it was unclear if there’s update to the policy to ac ...

Score: 0
What is the name of the string that a service returns when you establish a tcp connection via telnet?
it flag

If you telnet to an ssh server, it will establish a connection and return a string, something like SSH-2.0-OpenSSH.... etc.

Something similar happens if you connect to a mysql server.

What exactly is the name of the string that the service returns? It's not a "header", since we aren't talking about http(s) here.

Similarly, it's also possible to send commands via telnet, for example, you can connect  ...

Score: 0
crasic avatar
How does Digital Ocean App issue a certificate on my behalf?
fr flag

I am trying to understand how this works so that I can maintain it. I do not understand how my digital ocean app was able to automatically issue and serve a cloudflare edge certificate despite CF proxy disabled on that domain.

I have a basic network that consists of a few resources on DO and AWS with CloudFlare Proxy. CF is set to strict mode There are three hosts

A.example.com - A Record to AWS Serve ...
Score: 0
dirman avatar
ansible backups for cisco asa devices: ERROR: % Invalid input detected at '^' marker
ne flag

I have been tasked with backing up all of our network devices, so natuarally I chose ansible. I am no expert but I sure need help on this one! I have tried everything under the moon and cannot figure it out, neither has chat-gpt. The ansible ping module works successfully and the debug output shows its getting some of the data from 'sh run' however its still failing. I can login manually and run bot ...

Score: -3
MJHd avatar
Redirect OR warn (during initial negotiation) SMTP submitters to use TLS on port 587 - leave 25 explicitly blocked by firewall for better security
my flag

I've managed to find a lot of closely related information, but not an answer truly addressing my question.

I am expanding on my homelab server, and have decided to use a small publicly hosted server as a simple proxy. My homelab will operate Mailcow and I want to use only port 587 for secure SMTP, but I want to make sure my setup doesn't appear broken, off, or somehow anomalous to say - a deliver ...

Score: 0
Fiattarone avatar
Why is procmail saving my emails with a format like .{x}AA1?
iq flag

I'm simply trying to save all incoming emails to a folder so that I can have a watchdog script comb through and parse the attachments in various ways as changes happen to the folder. We'll call this specific folder "incoming_emails".

I've configured fetchmail with procmail, and I've written a recipe which saves emails to incoming_emails, but they're saved in a format like "msg.aAA1", "msg.XAA1",  ...

Score: 0
bani avatar
detect when sssd connects to the ladp server and finds a specific group in boot
co flag

I am looking to find a way so when system is booting , i can detect when sssd connect to LDAP server and finds a specific group then reload the systemd-udevd. i actually want to automate all of these steps. does any one have any idea?

Score: 0
majid lateef avatar
CPU Usage 98% /usr/sbin/mysqld and server down
bv flag

How to solve this issue. php codeigniter framwork Everyday our server goes down because of these issue. CPU usage 98 % Ram used 21 083 MB /usr/sbin/mysqld

Score: 0
Peter Lind avatar
GKE ingress returns 502 with encrypted service
us flag

I'm on GCP and I've deployed ElasticSearch and Kibana into a cluster, using the ElasticSearch operator. I've created an external Ingress with a preshared certificate, to send traffic into the Kibana service. I'm getting 502s however and I'm trying to understand what's wrong. My best guess right now is that the GCE Ingress cannot talk to an encrypted backend - but I don't know for sure how to debug this. ...

Score: 0
Tirux avatar
Any possible way to receive an alert of Windows Server being "unresponsive"?
in flag

We currently use ServiceNow to have many alerts like ping, 100% CPU/RAM utilization, disk space being almost full, etc. but we are investigating if we can receive an alert when the OS is "unresponsive", that is, cannot connect by RDP or VMware console (black screen). We have experienced Windows Servers in which the IIS or other APP services are still working, but we have to reboot the OS in order to acc ...

Score: 0
SinaOwolabi avatar
Cloud-init in kvm guests (Debian and Centos) not setting interface settings
ng flag

Im trying to use cloud-init to setup kvm guests (currently Debian 11 and CentOS Stream 8), and I am looking for help in correcting the meta-data and user-data files. Everything else seems to work, but network interface settings aren't set, though I do see cloud-init logs showing that they are. Please see below:

For debian:

    cat << EOF > /var/lib/libvirt/images/$meta_data_file
instance-id:  ...
Score: 0
rage8885 avatar
nginx: How to match server with shorter regex first when both have the same TLD?
sc flag

I'm trying to configure nginx to support two server name schemes.

Current: https://custid.hosted-environment.com/test/app-name/ Proposed: https://app-name.test.custid.hosted-environment.com

The current scheme works just fine, but trying to support both the current and proposed scheme and have nginx direct to the correct server based on the host does not seem to be working.

Here is an abbreviated version o ...

Score: 0
hinneLinks avatar
top - Show graphical load on startup (interactive commands 1, t, m)
cn flag

I'd like to see the current load (cpu + mem) of my Server (rhel 7.x) in a graphical fashion and only have top (and other built-in commands) available, tools like htop (that need to be installed) are not available.

Currently I start top and then type 1, t and m to archive and output like this one:

top graphical output with bars

Is there a way to start top with this view or send keystrokes to it automatically after start? The man pa ...

Score: 0
Mike T avatar
PowerShell ForEach-Object Parallel RAM Memory Keeps Growing
in flag

Using PS 7.3.4 The code works fine without errors.

Issue - the RAM consumed by the script keeps growing. How do I release the RAM? How do I see what is consuming the RAM? Any suggestions will be greatly apprciated.

Memory results after processing batches of 10K input

End of 1st group of 10K memory results.

For loop memory used BEFORE collection: 1,208,928,432

For loop memory used AFTER full col ...

Score: 0
BenMorel avatar
How to set individual mysqld parameters using the bitnami/mysql Helm chart?
vn flag

We're using the bitnami/mysql Helm chart.

We'd like to upgrade max_allowed_packet from the default 16M value to 64M.

From what I can read in the README, it looks like the only way to pass custom [mysqld] parameters is by overriding the primary.configuration value.

But the default value is quite big:

$ helm show values bitnami/mysql
...
primary:
  ...
  configuration: |-
    [mysqld]
    default_authentic ...
Score: 0
Chris Vesper avatar
How does Windows run an uninstaller at logon
in flag

When users log into a Server 2016 Remote Desktop Server, they see this message. I'd like to stop that message from appearing.

Where does Windows set a flag or set up the autorun to uninstall an app at logon?

This may be user-specific as many users have reported seeing this message.

Cannot uninstall error message

In this case, we started installing "Virtual Printer Server" as an Administrator on the Server 2016 machine, and canc ...

Score: 0
santosh baruah avatar
How we Fix the APT repository errors Debian os
us flag

How to fix Fix the APT repository errors I'm using Debian GNU/Linux 9.13 (stretch), how can i fix this update error ?and import the Docker GPG key?

root@test:~# apt-get update
Ign:1 http://security.debian.org stretch/updates InRelease
Err:2 http://security.debian.org stretch/updates Release
  404  Not Found [IP: 111.73.1113.145 90]
Get:3 https://download.docker.com/linux/debian stretch InRelease [4 ...
Score: 1
Ror avatar
/etc/cron.d not running job
om flag
Ror

I need to run a script as a user to backup my database every night. I added the following cron job in /etc/cron.d/backup-mysql via ansible.

0 3 * * * backup_mysql /path/backup-mysql.sh

I can see the job running in syslog :

Apr 29 03:00:01 myserver CRON[1534185]: (backup_mysql) CMD (/path/backup-mysql.sh)

However it does nothing and I don't understand why. I checked the path, run the script as the us ...

Score: 0
Handsome Teh avatar
How to assign filtered column data to a variable using Set in VBA excel?
bh flag

I am newbie to VBA excel. I am trying to use Set to assign some data from a filtered column (through AutoFilter) to a variable (X in this case). Below shows the code and image of the table.

Sub Test()

    Dim X As Variant
    
    Worksheets("Sheet1").Range("B2").AutoFilter _
                                     Field:=2, _
                                     Criteria1:="1"

    With Worksheets("Sheet1 ...
Score: 0
Henrik Schultz avatar
PHP 7.4 FPM under Nginx serves wrong class from cache
dm flag

We have a Linux environment serving a few different applications, all written in PHP 7.4. They are served out of a single Nginx web server using virtual hosts, and are all using FPM.

In our code we are using a JSON-RPC client class (@package JsonRPC, @author Frederic Guillot), which is a wrapper around PHP CURL. For historical reasons, the Client.php class exists in different versions within the  ...

Score: 0
macos, how to remove permissions which cause: "ls: .: Operation not permitted"
pk flag
eos

Unfortunately, when onedrive stopped working, I ran the onedrive reset tool. This created a directory under /user/me/ called "OneDrive-Personal (Archive)".

Now onedrive is working again, i have to find a way to diff the whole of my .5 TB onedrive "archive" and the current onedrive dir, to find 3 months worth of work which is in the archive and not saved to onedrive.

Unfortunately, even though its in ...

Score: 0
Mohamed Rimas avatar
Web Caching using the SQUID Proxy Server
bi flag

[enter image description here][1]

file:///C:/Users/moham/Downloads/Documents/IT3010_LabSheet07.pdf [1]: https://i.stack.imgur.com/pe5iS.png

Score: 0
Deploy to AWS EKS using a service account
cn flag

I need to deploy multiple (> 2 dozen) applications into distinct namespaces from GitLab. Unfortunately, Gitlab's old instance-wide Kubernetes integration has long been deprecated, and the new agent system requires setting up and configuring a separate agent per project which is infeasible at my scale.

My first attempt was to use Kubernetes CertificateSigningRequests to create client certificates, but ...

Score: 0
Some Name avatar
Connect to a postgres running internally within a cluster through a kubernetes pod
cn flag

I've got a kubernetes pod myapp-2390458f-kfjgd I can get access to with kubectl and an instance of a PostgreSQL that can be accessed from within the kubernetes cluster by the name mypos.tgres.com, but it cannot be accessed outside of the cluster.

I'm trying to connect to the PostgreSQL from my laptop, but to my knowledge kubectl port-forward would not work in that case since I can only forward my l ...

Score: 0
Riad Reza Shuvo avatar
Configure varnish with cloudflare along with SSL terminator
cn flag

Our present scenario: Present Scenario

Now, we are planning to create a cache server between the user and the site. Proposed Plan

As per my understanding, cache servers can't work with HTTPs data. So, we have to convert the data from https to http. For this reason, we can use two SSL terminations for this conversion. Varnish with SSL termination

I can configure the SSL between the user and the va ...

Score: 0
khushbu shah avatar
Tenant with name projects/**/tenants/** not found using Google Cloud talent solution API
ci flag

Description:

Code:

String projectId = "*****";

String tenantId = "***-ay7tp";

        try (JobServiceClient jobServiceClient = JobServiceClient.create()) {

        // Construct the list jobs request
        ListJobsRequest.Builder requestBuilder = ListJobsRequest.newBuilder()
                .setParent("projects/" + projectId + "/tenants/" + tenantId).setFilter("status = \"OPEN\"")
                . ...
Score: 0
Cat Mucius avatar
Remote call of NRPE comman fails in one case, while succeeding locally in all
ng flag

I have amazingly strange issue with monitoring a CIFS (SMB) shared folder mounted to Linux machines by Nagios + NRPE.

NRPE process runs on the Linux machines under dedicated user nrpe:

# systemctl status nrpe
  nrpe.service - Nagios Remote Program Executor
   Loaded: loaded (/usr/lib/systemd/system/nrpe.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2023-05-02 14:4 ...
Score: 0
khushbu shah avatar
how to resolve error like io.grpc.StatusRuntimeException: PERMISSION_DENIED when Implementing google Cloud talent solution api?
ci flag

Description :

Language: Java 8, Framework: Spring Boot

Build type: maven

Tool: Sring Tool Suite

Here I implemented this Google Cloud talent solution API for job search below code :

Code :

GoogleCredentials credentials = GoogleCredentials.fromStream(new FileInputStream(credentialsPath));

// Create a JobServiceClient instance and authenticate with credentials JobServiceClient jobServiceClient = Job ...

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.