Run Shell Script without sudo and with special bit permission using suid-wrapper

We always remember chmod u+s or special permission bit on an executable means when we run the executable it will run as the owner of the executable (read this). There are a problem with it, it will WORK IF it’s a BINARY EXECUTABLE, NOT SHELL SCRIPT! Then how to make shell script behave the same…… Continue reading Run Shell Script without sudo and with special bit permission using suid-wrapper

How to Change Channels of Snap Installed Package

This maybe surprising for many people, as I don’t like much ubuntu, as you all talk to me on many forums and open source project, you always see me to refer user to fedora, and flatpak.. but for my work now, I’m confined in ubuntu, and snap.. so I tried to just brush it away……… Continue reading How to Change Channels of Snap Installed Package

Podman Compose Error when resolve instance hostname in same pod on RHEL 8.8 : Change the network_backend

So, this is another story or experience that I gain when I wrote my last piece of exercise in University Lab. I have subset of running container compose in Internet Server Administration courses, and one of my assistant told me that podman-compose on nginx-golang (one of the container set up from https://github.com/docker/awesome-compose/tree/master/nginx-golang for learning proxy),…… Continue reading Podman Compose Error when resolve instance hostname in same pod on RHEL 8.8 : Change the network_backend

Install Driver Canon IP2870S di Fedora Linux 38

Ini hanya catatan sederhana saja, untuk instalasi Driver Canon IP2870S atau seri IP2800 apapun. Saya catat karena di website Canon resmi untuk IP2870S tidak menyediakan Versi Linux, tapi ada Driver Linux IP2800. Singkatnya download paket tar.gz driver dari Web Canon, untuk Debian bisa di download di https://id.canon/en/support/0100586502 (bonus saja, judulnya fedora). Untuk Fedora bisa download…… Continue reading Install Driver Canon IP2870S di Fedora Linux 38

DNS in systemd land using resolvectl : Temporary set, get, status, and clear cache

This is a pretty simple post/notes from my experience with DNS on linux using Fedora/EL based or any systemd-resolved based DNS client. With windows, we have ipconfig command to control the cache of the dns also netsh command to control IP. Most of the time, we can clean the cache just using ipconfig /flushdns, but…… Continue reading DNS in systemd land using resolvectl : Temporary set, get, status, and clear cache

Fixing Booting Problem with Kernel 6.2.x on Fedora with Thinkpad X220

Long story short, this is just a simple notes that I will write for myself. My Thinkpad X220, has been using Fedora since 2021 with kernel 5.x.x, but since 3 days ago (29 April 2023), I got a problem, where I can’t even boot with new kernel, because soft lock CPU. Fortunately, there are still…… Continue reading Fixing Booting Problem with Kernel 6.2.x on Fedora with Thinkpad X220

Cek IP Publik Melalui Router Mikrotik dengan ipinfo.io

Jadi, ketika melakukan konfigurasi NAT menggunakan router mikrotik, saya selalu mengalami kesulitan untuk melakukan pengecekan IP public dari mikrotik router itu langsung, tanpa menggunakan end device. Biasanya, saya akan melakukan curl https://ipinfo.io melalui terminal bash di linux ataupun di cmd windows (sekarang curl sudah built in di windows sejak windows 10). Salah satu mentor saya…… Continue reading Cek IP Publik Melalui Router Mikrotik dengan ipinfo.io

Install CNI Plugin untuk Podman Container di Alpine Linux V3.16

Banyak dari kita pengembang aplikasi tidak bisa lepas dari container sejak 3-4 tahun terakhir, karena teknologi container membantu kita melakukan pengembangan aplikasi berbasis microservices di mana pun tanpa harus sulit untuk melakukan setup environment kita seperti di era monolitik. Saya biasa menggunakan WSL 2 di Windows 10 (karena saya terkunci dengan O365 di Windows, Mendeley…… Continue reading Install CNI Plugin untuk Podman Container di Alpine Linux V3.16

Melakukan Query info pada Package di Ubuntu

Saya adalah pengguna setia *EL(enterprise linux) derivative, dan sangat senang menggunakan dnf ataupun yum sebagai package manager, karena powerful, simple, dan mudah di tebak. Tetapi di kampus, tidak semua server yang ada baik di lab maupun di server farm, menggunakan Red Hat derivative, bahkan seringkali menggunakan debian based, sebut saja Ubuntu. Package manager apt di…… Continue reading Melakukan Query info pada Package di Ubuntu