Linux How-Tos

MySQL List Users Command – How to Show / List All Users in MySQL / MariaDB

In order to list all the configured DB users in a MySQL or MariaDB, you must be logged in as an administrator: /home/grokman grokman@li598-26% sudo mysql -u root -p Then you can issue the command to list all the DB users: select user, Super_priv from mysql.user; So, it should go something like this: Other user …

MySQL List Users Command – How to Show / List All Users in MySQL / MariaDB Read More »

Linux Kernel – Check Installed and Switch Boot Kernel

See Installed Kernels In Debian & Ubuntu, we can see the installed kernels with: % dpkg –list | grep linux-image ii linux-image-3.16.0-4-amd64 3.16.51-3 amd64 Linux 3.16 for 64-bit PCs ii linux-image-3.16.0-6-amd64 3.16.56-1+deb8u1 amd64 Linux 3.16 for 64-bit PCs ii linux-image-4.9.0-11-amd64 4.9.189-3 amd64 Linux 4.9 for 64-bit PCs ii linux-image-amd64 In Fedora / CentOS / RedHat …

Linux Kernel – Check Installed and Switch Boot Kernel Read More »

Debugging and Tracing In Postfix

Turn up logging for individual clients A really nice feature Postfix has is this ability to debug individually-specified hosts and this is how you do that.  Just add this to your main.cf: # Debug individually-specified hosts debug_peer_level=3 debug_peer_list=regexp:/etc/postfix/debug_peers In this case I have set the debug level to 3.  The default level is 2.  Also …

Debugging and Tracing In Postfix Read More »