AWS Lab

User Groups and Accounts Tasks

We deploy the real environment, you take the scenario-based labs on us. Hands-on, from anywhere, at any time.

Time required: 2 Hours

Scope

Use the supplied lab server to perform the scenario below.

Objectives

Change passwd aging, create a delete users.  Create groups.  Add users to groups.  Create folders that have permissions set so that files created in them are owned by the group

Overview

Change passwd aging, create a delete users.  Create groups.  Add users to groups.  Create folders that have permissions set so that files created in them are owned by the group

Scenarios

You must adjust the aging for profiles. 60 days before a password change, 10 days notice. min 10 characters for password. We dont want to have the users profiles become inactive. Just force a password change.

1. Change the system to enable password aging as specified above.
2. Create these users. Add their full name as part of the comment field for the user.
Sam Browne, username sbrow
Caius Marco, username cmarc
Usko Stylianos, username ustyl
Duane Aleksandro, username dalek
3. Change the passwords for the new users to be 10 characters. The passwords may be anything that complies with the rules that are set.
4. Create the following groups.
marketing
sales
creative
5. Create the following folders.
Create a folder called /groups
under groups will be the following folders that are owned by the relevant group.
marketing
sales
creative
6. Set the folders so that any files created under them are owned by the relevant group.
7. Add sam and caius to marketing
8. Add Usko to sales.
9. Add duane to creative.
10. Make your current user usko.
11. As Usko. You should not be able to create files under with marketing or creative.
12. As Usko. You should be able to create files under sales.
13. Delete the user usko and delete his home folder.
14. Check to see if usko's home folder has been deleted.


Share our Labs
Start Your Free Trial

We have the longest and most in depth courses about cloud and engineering topics on the web. All of our training content is included with every membership.