You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If any permission issues, You would need to fix the complete the task.
Login as root user:
Create Users - User1, User2, User3, User4 & password for each
2. Create groups - devops, aws
3. Add user2, user3 to devops group.
4. Add user4 to aws group
5. Create directory structure mentioned in the diagram.
6. Change group of /dir1, /dir7/dir10, /f2 to "devops" group.
Change ownership of /dir1, /dir7/dir10, /f2 to "user1" user.
Login as user1:
Create directory - "/dir6/dir4"
2. Create file - "/f3"
3. Move the file from "/dir1/f1" to "/dir2/dir1/dir2"
4. delete the file "/dir2/dir1/dir2/f1"
5. delete /dir7
Write some data to /f2 file and save it.
Login as user2
Create file "/dir1/f2"
delete /dir6
delete /dir8
delete /f2
delete /f3
Write some data to /f1 file and save it.
delete /f1
Login as user4
create file "/dir1/f2"
2. delete /dir1
using singlecommand delete /opt/dir14/f3 & /opt/dir14/dir10
Scenarios:
Instructions:
If any permission issues, You would need to fix the complete the task.
Login as root user:
2. Create groups - devops, aws
3. Add user2, user3 to devops group.
4. Add user4 to aws group
5. Create directory structure mentioned in the diagram.
6. Change group of /dir1, /dir7/dir10, /f2 to "devops" group.
Login as user1:
2. Create file - "/f3"
3. Move the file from "/dir1/f1" to "/dir2/dir1/dir2"
4. delete the file "/dir2/dir1/dir2/f1"
5. delete /dir7
Login as user2
Login as user4
2. delete /dir1
Login as user3:
3. delete /dir4/dir12/f4
4. delete /dir4
All Done? Still not confident? repeat the steps!