nixCraft Linux / UNIX Newsletter

Link to [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format

Linux Command: Put Laptop / Netbook In Hibernate / Suspend Mode

Posted: 11 Jun 2018 08:12 PM PDT


How do I suspend or hibernate from bash shell command line under Linux operating systems? How do I suspend or hibernate my Ubuntu Dell laptop using command line, without using additional software?

The post Linux Command: Put Laptop / Netbook In Hibernate / Suspend Mode appeared first on nixCraft.

PHP.INI settings Disable exec, shell_exec, system, popen and Other Functions To Improve Security

Posted: 11 Jun 2018 08:10 PM PDT


I run a small Apache based web-server for my personal use, and it is shared with friends and family. However, most script kiddie try to exploit php application such as WordPress using exec(), passthru(), shell_exec(), system() functions. How do I disable these functions to improve my php script security?

The post PHP.INI settings Disable exec, shell_exec, system, popen and Other Functions To Improve Security appeared first on nixCraft.

How to open DNS port 53 using ufw on Ubuntu/Debian Linux

Posted: 11 Jun 2018 01:31 PM PDT

How do I allow incoming DNS tcp/udp port 53 connections from a specific IP address or subnet on a Ubuntu or Debian Linux server using ufw? How can I open DNS port 53 using ufw firewall?

The post How to open DNS port 53 using ufw on Ubuntu/Debian Linux appeared first on nixCraft.