Table of Contents

Linux - Red Hat

Linux CentOS 6.5

Enable SSH

chkconfig sshd on

Start SSH Service

service sshd restart

Add new user

useradd tst
passwd tst
password123
password123

Allow user root permissions

visudo
  1. Search for line that says ##Allow root to run any commands anywhere
  2. Copy root line and change username

Allow user sudo permissions

  1. For this, add a user to a group called wheel
usermod -aG wheel tst
  1. Modify visudo to enable wheel group
visudo
  1. Change line
## Allows people in group wheel to run all commands
# %wheel  ALL=(ALL)  ALL
  1. Delete the comment in front to %wheel and the new line will look like
%wheel  ALL=(ALL)  ALL

Linux RHEL 6.5

subscription-manager register
Username: 
Password: 
The system has been registered with ID: XXXXX

Linux CentOS 7

updatedb
nano /etc/systemd/logind.conf
systemctl restart systemd-logind.service

Red Hat Linux 7.3

Linux CentOS 8

DATA SIZE TERMINOLOGY REFERENCE TABLE

Linux