Users and Groups Creation and Deletion Batch

# Introduction In this project, you will learn how to create and manage user accounts for teachers and students in a classroom server environment. You will use a bash script called `userctr.sh` to automate the process of adding and deleting user accounts, which can be a tedious task when done manually. ## 👀 Preview ```shell # Add 1 teacher user and 6 student users (stu1 to stu6) $ sh userctr.sh add teacher stu 6 teacher:617533 stu1:345893 stu2:183263 stu3:404525 stu4:571165 stu5:251940 stu6:716130 # Delete 1 teacher user and 6 student users (stu1 to stu6) $ sh userctr.sh del teacher stu 6 ``` ## 🎯 Tasks In this project, you will learn: - How to set up the necessary environment for the project - How to implement functions to add and delete users and groups - How to test the `userctr.sh` script to ensure it works as expected ## 🏆 Achievements After completing this project, you will be able to: - Understand the importance of automating user management tasks - Create and manage user accounts for teachers and students using a bash script - Ensure that user accounts are created with the appropriate settings, such as default shell and sudo privileges - Efficiently add and delete user accounts in a classroom server environment

|60 : 00

Click the virtual machine below to start practicing