https://unix.stackexchange.com/questions/130906/why-does-setuid-not-work
Cange apache default root folder
https://stackoverflow.com/questions/5891802/how-do-i-change-the-root-directory-of-an-apache-server
Logout all users from ssh…
sudo service systemd-logind restart Just use this command to log out from all sessions.
Add static local IP to Ubuntu server
https://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/set-a-static-ip-address-on-ubuntu-22-04.html
Wireguard wg0.conf file
Server side file https://linuxize.com/post/how-to-set-up-wireguard-vpn-on-ubuntu-20-04/ Settings on server wg0.conf file # Server configuration [Interface] PrivateKey = Private key= # The...
Create .bin application in linux
To check if some system service is active and then activate/deactivate it use the next code: #!/bin/bash systemctl -q is-active jackett.service && \ systemctl stop jackett.service || \...
HP DV7 adjusts Screen Brightness and Enables full Beats™ audio
How to obtain screen brightness control sudo gedit /etc/default/grub Add acpi_vendor=backlight , as follows: GRUB_CMDLINE_LINUX_DEFAULT="splash acpi_backlight=vendor"...
Open an close ports to Linux Firewall
firewall-cmd --zone=public --add-port=80/tcp firewall-cmd --permanent --zone=public --add-port=80/tcp firewall-cmd --reload $ firewall-cmd --zone=public --remove-port=10050/tcp $ firewall-cmd...
Adding Linux Users to Sudoers File Manually
sudo visudo # User privilege specification root ALL=(ALL:ALL) ALL test ALL=(ALL:ALL) ALL # Members of the admin group may gain root privileges
Linux Mint laptop WiFi loosing signal
https://unix.stackexchange.com/questions/269661/how-to-turn-off-wireless-power-management-permanently#315400