Linux Stuff thats good to know - rosepheobieshea/SYS-255-Tech-Journal GitHub Wiki
Add user and set password and then add them to wheel
- Add user: adduser
- Set password: passwd
- Add user to wheel: usermod -aG wheel
Setup netowrking
- Start nmtui application
Important note: subnet masks must be entered through cider notation along with the IP address. For example, 10.0.5.5/24.
Disable SSH Root Login
- Open '/etc/ssh/sshd_config'
- Uncomment or change '#PermitRootLogin yes' to 'PermitRootLogin no'
Install/Enable Logging on Rocky Amazingly, RockyOS does not have logging by default. To remedy this install rsys.
- dnf install wget
- cd /etc/yum.repos.d/
- wget http://rpms.adiscon.com/v8-stable/rsyslog.repo
- yum install rsyslog
- systemctl is-enabled rsyslog
- systemctl restart rsyslog