If you want to suspend all cPanel accounts at once just use this command: for username in `cat /etc/userdomains | awk {‘print $2’} | grep -v nobody | sort -n | uniq`;do /scripts/suspendacct $username;done Simple as that!
Category: Linux OS
Linux OS
How to prevent SSH from disconnecting sessions
Introduction If you work with SSH, you already know that, after few minutes of inactivity, a session would be closed automatically, for security reasons. In fact, you could have forgotten to shut it down, and someone could take control of your system. But, if you think it’s not your problem, you can change this behavior […]
Can Linux Run Video Games?
Linux and Gaming Linux is a widely used and popular open source operating system that was first released back in 1991. It differs from operating systems like Windows and macOS in that it is open source and it is highly customizable through its use of “distributions”. Distributions or “distros” are basically different versions of Linux […]
Which is the Best Linux Distros for Students?
Schools have resumed with students returning with renewed determination and competitive spirit to the classrooms. Are you one of these students? You want every help you get, especially programming assignment help if you are a tech student.
Can I delete files in /var/log/journal?
In the directory /var/log/journal/ are kept the log files created by the journal service (systemd). Sometimes, this directory can have a large size. You can check with the du command or by using the journalctl –disk-usage command as: root@web [~]# journalctl –disk-usage Archived and active journals take up 934.1M on disk. root@web [~]# journalctl is a utility that […]
How to completely remove Dovecot from a Directadmin server
It is possible to use DirectAdmin without installing and using POP3/IMAP servers. It’s Dovecot which adds support of POP3/IMAP on a DirectAdmin server. And here you can learn how to completely remove Dovecot from a DirectAdmin powered server.
5 Cybersecurity Tips to Help Linux Users Protect Their Computers
Cybercrime is a growing threat that has caused most internet users to rethink how they protect their data and information. Cybercriminals are getting more sophisticated with their methods and are coming up with new ways to mask their internet identity to avoid a jail term. Whether is through phishing attacks, ransomware or hijacking a […]
How to generate and check strong passwords in Linux
Introduction Different operations require different security layers. Accessing your email account, your social media, your bank account, and a remote server that you administer through SSH all need different security layers, and contain data which hold different “weight”. But, in order to accessing all these operations, you will always require the same thing: a password.
Let’s Encrypt: Secure Apache Web Server on Ubuntu 16.04
Why HTTPS? Starting with Chrome 56, the browser developed by Google marks non-secure pages containing password and credit card input fields as Not Secure in the URL bar. It was almost one year ago, when the Mountain View giant announced this choice.
How To Install OpenVPN On CentOS 7
Prerequisites CentOS 7 server. root access to the server. Domain or sub-domain that resolves to your server that you can use for the certificates OpenVpn isn’t available in the default CentOS repositories. So we need to install Enterprise Linux (EPEL) repository. Use the following command to install EPEL repository.