2024 04 23

RHCSA Theoretical pre-assessment exam #

  1. Create a sales group, when new users are added from sales make sure they are part of that group. Create a shared directory for users from sales to use.
  2. Use hostnamectl. Maybe check man hostnamectl
  3. pvcreate /dev/
  4. vgcreate my_vg /dev/
  • lvcreate -L 500M my_vg -n my_lv
  • Check man mkfs.ext4 to figure out how to set “8MiB extants…” Use mkfs.ext4 to create the filesystem.
  • mkdir /data
  • Use blkid to get the UUID
  • Setup /etc/fstab entry with the UUID
  • Use mount -va to mount the LV at /data
  1. Failed mount in /etc/fstab.
  2. Configure a repository file at /etc/yum.d/example.repo. I can’t remember the syntax though…
  3. Configure bob’s crontab adding * 0 * * * <command>
  4. Configure a /bin/nologin shell
  5. Review the systemctl status httpd. Check logs. Check for port conflicts.
  6. I can’t remember what option to configure kernel params but it’s rd.something and then boot into ramdisk. chroot into /sysroot. Update password. Configure selinux thingy…
  7. Unknown… check man systemd?
  8. dnf provides sealert
  9. find /etc -type f -name “root”
  10. mandb
  11. usermod -aG user
  12. use lvcreate to create the volume. Create the directory with mkdir. Create the filesystem. Setup /etc/fstab to mount it automatically.
  13. Configure /etc/chrony.conf and restart chronyd
  14. no idea, but maybe apropos ldap and go from there?