Red Hat Certified System Administration 8



Exercise 01: Managing Users

On RHGUI-1
  1. Create user "user2" with useradd command


  2. Create users "user3" "user4" with adduser command


  3. Remove user "user4" from the system


  4. Remove user "user3" from the system, along with his/her home directory and mail spool


  5. Remove user4 home directory


  6. Using one command line Add user "user3" with Full name (Your full name), password (user), expiration date (in 2 years), shell (bash) settings


  7. Set password "user" to user2


  8. Change Passwords storing mode to Standard and display /etc/passwd and /etc/shadow Files


  9. Change Passwords storing mode to Shadow and display /etc/passwd and /etc/shadow Files


  10. Lock user3 account and completely logout from Gnome


  11. Try to login Gnome with user3 account


  12. Login Gnome with user1 Account and launch Terminal


  13. Unlock user3 account, logout Gnome and try to login Gnome with user3 account


  14. Change user2 default shell to sh, Logout Gnome, Login Gnome with user2 account, launch Terminal and observe the prompt


  15. Set Full Name (Martin KODJO) to user2


  16. Create groups "ENGENEERS", "TECHNICIANS", "SELLERS"


  17. Remove "SELLERS" group


  18. Add user1, user2 in "ENGENEERS" and user3 in "TECHNICIANS" group


  19. Add user2 also in "TECHNICIANS" group







+ Correction

Eninam BAGNABANA     |         |     bagnadavid@outlook.fr     |