is it possible to set default home-directory based on the users gidnumber?

I’m aware that I can change the general settings by running: ipa config-mod –homedirectory=/some/path what I would like to achieve is for IPA to change it to a different path based on the GID/GIDnumber of the user created, e.g: ipa user-add user10 –gidnumber=10 would create a user with home-directory /home10/user10 ipa user-add user20 –gidnumber=20 would … Read more

How to disable Web Console and Red Hat Insights prompt on login to RHEL8 via SSH?

Whenever I log into my RHEL8 server via SSH, I get these lines printed: Web console: https://<myserver>:9090/ or https://<myip>:9090/ This system is not registered to Red Hat Insights. See https://cloud.redhat.com/ To register this system, run: insights-client –register How do I disable those prompts? Answer I figured it out before I finished writing this question so … Read more

Fail2ban with Firewalld on RHEL 8 – Fail2ban seemingly blocks IPs, but they are not really blocked

I’m running fail2ban on RHEL 8 using firewalld. According to the fail2ban log (with DEBUG level) it blocks IP addresses without any error, but in fact there are no such rules in firewalld and nftables. In the jail.local config file I have set banaction as firewallcmd-ipset and banaction_allports as firewallcmd-ipset[actiontype=”<allports>”]. I do not see any … Read more

Systeem PathChanged is triggering too fast

I have a problem with my systemd setup. I have a service that starts my MEAN-Stack environment on the server. [Unit] Description=Frontend Server After=network.target backend.service [Service] Type=simple User=meanrunner ExecStart=/somepath/server.sh Restart=always WorkingDirectory=/somepath/ [Install] WantedBy=multi-user.target I now added an automatic deployment pipeline and to make it work I added a .path and a .service file for every … Read more

CentOS 8 compiling kernel 5.13.7 BTF Error

I’m compiling Kernel 5.13.7 for Centos 8.4.2105 I’ve got the below error MODPOST vmlinux.symvers MODINFO modules.builtin.modinfo GEN modules.builtin BTF: .tmp_vmlinux.btf: pahole (pahole) is not available Failed to generate BTF for vmlinux Try to disable CONFIG_DEBUG_INFO_BTF make: *** [Makefile:1205: vmlinux] Error 1 I tried searching on Google and got this solution https://stackoverflow.com/questions/61657707/btf-tmp-vmlinux-btf-pahole-pahole-is-not-available But that is only … Read more

Oracle’s sqlcl ORA-01005: null password given; logon denied on new RHEL8 install, but not nearly identically configured old RHEL7

ON RHEL7… $ sql bagsbx1/password@jdbc:oracle:thin:@mydbdev.dacracot.org:1521/bagdev.dacracot.org SQLcl: Release 20.3 Production on Thu Sep 30 07:06:15 2021 Copyright (c) 1982, 2021, Oracle. All rights reserved. Last Successful login time: Thu Sep 30 2021 07:06:16 -07:00 Connected to: Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 – Production Version 19.12.0.0.0 SQL> quit Disconnected from Oracle Database 19c Enterprise Edition … Read more

Not able to upgrade OpenSSL version from 1.1.1g to 1.1.1l in RHEL 8.4

I have Linux machine RHEL 8.4 with OpenSSL 1.1.1g. After running the vulnerability and penetration testing, It was found that this version of OpenSSL is not secured and recommended to upgrade OpenSSL 1.1.1g –> 1.1.1l When I’m giving the command: sudo yum update openssl It’s showing that version is already up to date. 1.Is this … Read more

RHEL 8 Ansible playbooks not working with FIPS enabled

I have two sets of Linux VMs in a GCP (Google cloud) environment: Debian9 and RHEL8. The RHEL8 environment is FIPS-140 enabled, due to security/compliance requirements. None of our Ansible playbooks work with the FIPS-enabled RHEL VMs, but still work fine on the Debian VMs. The Linux control host is Debian9 as well. For the … Read more