Kali – Page 54 – POFTUT

Category: Kali

0

How To Disable or Lock Linux User Account?

How can I disable some Linux account? By disabling it I do not want to remove the account and related files. Just user related operations will be prevented. If an user authentication occurs it will be not authenticated. We will use usermod command to lock user account. Disable/Lock User Account with usermod Command We will disable account with the following code.

usermod will change user account related attributes and information. -L will lock...

0

How To Disable or Enable Selinux Temporarily or Permanently?

I have fedora desktop. I want to run some services but I get error about selinux. How can I disable selinux? Selinux is a security mechanism used generally linux systems. It has support from linux kernel. Selinux create context for specified services, applications and users. Prevent these to access unrelated or unsecure part of the linux systems. In this tutorial we will look how to disable and enable selinux temporary...

0

How To Check Java Version

Java is very popular programming language between open source community. Java is used for a lot of opensource projects. To run java applications it Java Run time Environment or Java Development Kit should be installed. We can check specific version java like below. Java Command Not Found

Oh there is a problem. java command cannot be found which means it is not installed or the path is not specified. In this...

0

How To List All Users and Groups in Linux

Users and group files are important for Linux. Normal users will interact with Linux systems by using credentials provided in the user ad group file. Print User File Named passwd We can get content of the user file like below.  This file provides usernames home directories and shell information.

As we can see each line of the output provides the user name, user id, user group, user shell, user...

0

Crash Linux System With A Bash Fork Bomb

Our aim is to create a lot of process with single and simple commands. So every created process will eat some RAM and CPU. If we loop it forever actually not forever because our system resources are limited system will crash. So we can ask this question why would I crash my system . As stated before we can use this as a test case for different purposes. Recursive Functions...

0

How To List MySQL/MariaDB Databases

I have some MySQL databases. I have no previous experience about MySQL. How can list existing databases with bash?MySQL and MariaDB are using same code base and tools. So we can use following instructions to list MariaDB too. Check Database Service First be sure MySQL/MariaDB service is running

As we can see from systemctl output the database service is working properly. Login To MySQL Interactive Shell In order to...

0

User Groups in Linux

I have heard that Linux have groups. I wonder that how can use groups in Linux ? Linux user groups are used to groups users so for privilege and permission issues can be solved for multiple users easily. For example if we have a file and want to read access for 47 Linux users we can use groups mechanism to group these users and give access to the newly created...

0

How To Shutdown Linux System?

I am new to Linux and I have installed some Linux distributions. I try to learn bash commands. I can shutdown my computer from Desktop manager easily. But How can I shutdown system from bash without a GUI. There are different ways to shutdown Linux system. Following commands will work most of the distributions like Ubuntu, Debian, Mint, Kali, CentOS, RedHat, Fedora. Poweroff Command We can shutdown a Linux system...

0

Install Dnsmasq As Cache Dns Server

We have a lot of computer in our network. Our network speed is not too much. Sometimes especially in mornings our internet connection slows down. How can solve this with some dns related tricks? Dns is one of the mostly used network protocol. It can effect the internet speed. Making some optimizations will develop your internet experience. Caching is to hold resolved dns queries in our dns server. There are...

Enjoy this blog? Please spread the word :)