Tentakel to execute commands on multiple Linux or UNIX Servers
This is Part II in a series on Execute Commands on Multiple Linux or UNIX Servers Simultaneously. The full series is Part I, Part II, and Part III. Many times, you want to execute a command not only on...
View ArticleAllow A Normal User To Run Commands As root Under Linux / UNIX Operating Systems
From my mail bag:I would like to run few commands such as stop or start web server as a root user. How do I allow a normal user to run these commands as root?
View ArticleChange Linux or UNIX system password using PHP script
If you just wanted to change your own password or other user passwords use passwd command. I was asked to setup a PHP based interface to change the password. Since my knowledge of php is limited. Here...
View ArticlePHP Send Email Using Authenticated SMTP Mail Server In Real Time
PHP has mail() function to send an email to users. However this mail() will not work: => If sendmail (or compatible binary) is not installed => If Apache Web server / Lighttpd running in chrooted...
View ArticlenixCraft FAQ Roundup – Dec 8, 2008
Recently updated/posted Linux and UNIX FAQ: => Boot Ubuntu Linux into Rescue mode to fix system - How do I boot my Ubuntu Linux server into Rescue mode to fix system? => Unable to create...
View ArticleHowto migrate from Microsoft Internet Information Server (IIS) to Apache on...
This is an interesting article. For people migrating from Windows to Linux, the Apache Web server is entirely different world from Microsoft Internet Information Server. Apache can be alienating to IIS...
View ArticleHowto Setup Linux Apache Web Server Cluster with Linux Virtual Server and...
This article explains howto setup and running with the Linux Virtual Server and Linux-HA.org's Heartbeat in 5 easy steps. You can construct a highly available Apache Web server cluster that spans...
View ArticleRed Hat Open Sourced Identity, Policy, Auditing Management Security Framework...
Red Hat has open-sourced its identity-management and security system to promote its assertion that open-source software provides the most secure infrastructure. From the press release: Red Hat...
View ArticleHow to Install and Configure ProFTPD in RHEL / CentOS / Fedora Linux
Explains how to install and configure proftpd FTP server under Red Hat enterprise Linux / CentOS / Fedora Linux along with virtual hosting.
View ArticleLighttpd mod_rewrite Hotlink Protection To Display Image Message
Describes how to stop image or any media hotlinking under Lighttpd and redirect to another image to save bandwidth.
View ArticleHow To Stop AVG Scanner Hitting Apache Web Server
AVG anti-virus includes browser plugin called "Linkscanner" that scans all the links on search engine result pages for viruses and malicious code. Here is how you can block AVG Scanner under Apache.
View ArticleRed Hat / CentOS Apache 2 FastCGI PHP Configuration
FastCGI is a protocol for interfacing interactive programs with a web server. FastCGI's main aim is to reduce the overhead associated with interfacing the web server and CGI programs, allowing a...
View ArticleLinux: 25 PHP Security Best Practices For Sys Admins
PHP is an open-source server-side scripting language and it is a widely used. The Apache web server provides access to files and content via the HTTP OR HTTPS protocol. A misconfigured server-side...
View ArticleA cautionary tale about locking Linux & FreeBSD user accounts
Like every other solo developer and sysadmin, I do stuff using ssh. Some stuff is automated using scripts, and others require ssh login. For example, one of my scripts logs into my Linux and FreeBSD...
View ArticleHow to protect Linux against rogue USB devices using USBGuard
usbgurd You deployed a perfect firewall and other network security policies preventing unauthorized access to the user's desktop computer over a network. However, you still need to block USB device...
View ArticleDNS settings to avoid email spoofing and phishing for unused domain
As you may know, email spoofing allows attackers to pose as someone else to gain illegal profit. For example, I only use webmaster@cyberciti.biz for communication, but someone might create a...
View ArticleHow To Set Up SSH Keys With YubiKey as two-factor authentication (U2F/FIDO2)
Patreon users download the PDF version. All Linux and Unix servers are managed manually or by automation tools such as Ansible using ssh. For example, say you have a server at Linode or AWS. Then you...
View ArticleHow to skip ChatGPT from WireGuard or OpenVPN on Linux
nixCraft Patreon supporters can download the PDF version here. ChatGPT (short for Chat Generative Pre-trained Transformer) is a chatbot by OpenAI. It provides answers to your queries using learning...
View Articlenvtop – Awesome Linux task monitor for NVIDIA, AMD & Intel GPUs
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post nvtop – Awesome Linux task monitor for NVIDIA, AMD & Intel GPUs appeared first on nixCraft.
View ArticleHow to upgrade FreeBSD 13.1 to 13.2 release
The FreeBSD Release Engineering Team is announcing the availability of FreeBSD version 13.2-RELEASE on 11/April/2023. It is the third release of the stable/13 branches. I updated my FreeBSD version...
View Article