In RHEL 8, RH124, Chapter 6, Section 9 there is an error in one of the commands:
usermod -s /sbin/nologin user03 is incorrect, it should be:
sudo usermod -s /sbin/nologin user03
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.