Category: RedHat


How To Set or Change User Password In Linux?

Linux passwords are used to authenticate users. Linux passwords was hold in /etc/passwd file with other user related information like default shell, home directory path etc. Now in modern Linux distributions holds passwords in /etc/shadow file which have restricted access. This file holds user passwords as hash values with salt....


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


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


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


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


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

Enjoy this blog? Please spread the word :)