This is an old revision of the document!
yum whatprovides "*/scp"
yum install -y net-snmp.x86_64 yum install -y net-snmp-utils.x86_64
chkconfig sshd on
service sshd restart
useradd tst passwd tst password123 password123
visudo
usermod -aG wheel tst
visudo
## Allows people in group wheel to run all commands # %wheel ALL=(ALL) ALL
%wheel ALL=(ALL) ALL
subscription-manager register Username: Password: The system has been registered with ID: XXXXX
updatedb
nano /etc/systemd/logind.conf
systemctl restart systemd-logind.service
mount /dev/cdrom /media/cdrom
vi /etc/yum.repos.d/rhel9.repo cat /etc/yum.repos.d/rhel9.repo [BaseOS] name=BaseOS Packages Red Hat Enterprise Linux 9 metadata_expire=-1 gpgcheck=1 enabled=1 baseurl=file:/media/cdrom/BaseOS/ gpgkey=file:/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[AppStream] name=AppStream Packages Red Hat Enterprise Linux 9 metadata_expire=-1 gpgcheck=1 enabled=1 baseurl=file:/media/cdrom/AppStream/ gpgkey=file:/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
dnf clean all
dnf repolist
dnf install -y bind bind-utils