ciphermethod.com

Linux

Training ChatGPT

by on Dec.10, 2025, under Linux, Red Hat

Would you like to know the command that fixed the issue?

ChatGPT said:

Absolutely — I’d like to know!
What command fixed it for you?

You said:

grubby –update-kernel ALL –remove-args selinux

ChatGPT said:

Ahhh — that makes perfect sense.
grubby updates the kernel command line directly in each installed kernel’s entry, which GRUB rebuilds sometimes fail to do if multiple kernels or boot locations exist.

Your command:





grubby --update-kernel=ALL --remove-args=selinux

removes selinux=0 (and any other selinux= args) from all bootable kernels, not just the default one.

Why this works when GRUB edits don’t

RHEL systems often have:

  • Multiple installed kernels
  • Multiple GRUB menu entries
  • A mismatch between /etc/default/grub and what the system is actually booting
  • Separate GRUB configs under /boot/efi/EFI/BOOT/ as well as /boot/efi/EFI/redhat/

grubby bypasses all that and updates the per-kernel command lines where they are actually stored.

Great find — and a good tool to remember

grubby --info ALL
is also useful to inspect the effective boot args.

If you want, I can help confirm SELinux is now fully active and enforcing.

Leave a Comment more...

Pi-hole Query Log Empty

by on Mar.08, 2025, under Linux

# systemctl stop pihole-FTL

# rm /etc/pihole/pihole-FTL.db*

# systemctl start pihole-FTL

Leave a Comment more...

Functional Synology DSM 7.0 VPN Server

by on Jul.10, 2022, under Apple, iOS, iPhone, Linux, Security

Synology VPN Server

Forward ports 500, 1701, 4500 to server

VPN Server: Enable L2TP/IPSec, confirm Authentication is MS-CHAP v2, and set pre-shared key, enable user permissions for L2TP

IPad/IPhone VPN Client: L2TP w/ secret

Windows VPN Client: L2TP/IPSec with pre-shared key

Windows VPN Adapter Options:

Set VPN adapter Security Tab to Layer 2 Tunneling Protocol with IPSec (L2TP/IPSec)

Set Requires encryption (disconnect if server declines)

Set “Allow these protocols” and enable Microsoft CHAP Version 2 (MS-CHAP v2)

Leave a Comment more...

bogus intrusion attempt

by on Mar.28, 2016, under Linux, Red Hat

Active log file changed? No way!

[root@entbamboo01 logs]# tmpwatch –test –mtime +7 –nodirs /opt/bamboo/atlassian-bamboo-5.9.7/logs/*log
error: directory /opt/bamboo/atlassian-bamboo-5.9.7/logs/catalina.2015-10-20.log changed right under us!!!
error: this indicates a possible intrusion attempt

Leave a Comment more...

HP DV6000 Linux Webcam

by on Jan.23, 2016, under Hardware, Linux, Mint

Installation
========
1. sudo add-apt-repository ppa:r5u87x-loader/ppa
2. sudo apt-get update
3. sudo apt-get install r5u87x
4. sudo /usr/share/r5u87x/r5u87x-download-firmware.sh

Cheese, etc, should now detect the camera.

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

But Wait, There's More!

A few highly recommended friends...