Author: Steven Protter

User/group exercise

The problem is to create a group called sysadm. abraham needs to be a secondary member of this group. leah is a secondary member of sysadm group. rachael has no interactive login is not a member  of sysadm. For simplicity make the password equal to blackhat   Next objective: Make a folder /redhat/sysadm group ownership […]

Read More →

RHCSA SELINUX allow a apache subdirectory to be serviced

RHCSA studying. classroom.example.com 10.0.2.10 has a web server and /var/www/html/repo is where we want the yum repository to be. A little selinux problem with that in enforcing mode. yum -y install nmap  ##our test dummy. The answer: chcon -R -t httpd_sys_content_t “/var/www/html/repo/” restorecon -R /var/www/html/repo Like magic yum then works.

Read More →

RHCSA Network exercise

First check that network manage is enabled systemctl list-unit-files | grep -i net systemctl status NetworkManager -l | grep enp My kingdom for an easy way to go back to eth0 nmcli connection delete enp0s3   # Delete any connection from previous use of the VM nmcli connetion add connection add con-name enp0s3 type ethernet autoconnect […]

Read More →