Category: Ubuntu

1

How To Add A User To A Group?

In Linux users may have different groups registered. By default adding a user to the Linux system will create new user. There are different commands to change user group one of them is useradd which actually create new user and sets given group to the newly created user. As always...

0

How To Delete Remove User Accounts In Linux?

How can I remove a Linux user account from Linux system. As you know user management in Linux requires root privileges. While removing user his home directory can be remove or preserved. As same with mail box. User mailbox can be preserved. List Existing Accounts Before removing or deleting an user...

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...

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...

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...

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.

...

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...

Enjoy this blog? Please spread the word :)