Login to the system as root. Add multiple users named: user1, user2, user3, and
ID: 3631061 • Letter: L
Question
Login to the system as root. Add multiple users named: user1, user2, user3, and user4. Add two groups named: IUG and CCAST. Add other users with default group IUG named : user5 and user6. Move user1 and user2 to the CCAST group and remove their default groups. Read the file named /etc/passwd and look at the records for the added users. Switch to user1 and give full permission to the users in the same group with you. Test step 6 by user2. (read, write and execute files and directories ). Test step 6 by user3. (read, write and execute files and directories ). Switch to user5 and give full permission to the other users. Test step 9 by user6. (read, write and execute files and directories ). Test step 9 by user4. (read, write and execute files and directories ). Switch to user6 and touch three files in the home directory. Change the owner of the first file to user4. Change the group of the second file to user4. Change the owner and group of the third file to user3 in the same command line. Execute the Is command to see changes. Switch to root and lock the account for user3. Test step 17 by trying to login as user3. Login as root and unlock user3. Delete user1 and user2. Delete the group named CCAST. Change the user id to 1000 for user5. Change the group id to 1001 for IUG group. Read the file namd /etc/group. initExplanation / Answer
Ok rate this as lifesaver first. I am sick and tired of people taking advantage of me. I spend 30 minutes to one hour posting a solution and then they just take the answer and dont rate it. Inbox me once you have rated it and I will send you the solution.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.