Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / Command line - Terminal Submit commands in one word file   Log as root 1

Command line - Terminal Submit commands in one word file   Log as root 1

Accounting

Command line - Terminal

Submit commands in one word file

 

Log as root

1. Add four new users: eng1, eng2, acc1and acc2 and set their password

2. Create two groups: engineers and accountants

3. Add the two users eng1 and eng2 to the group engineers

4. Add the two users acc1 and acc2 to the group accountants

5. Create a directory /share and allow read, write and execute to everyone (rwxrwxrwx)

6. Create two subdirectories /share/Projects and /share/Bills

7. Change the group owner of the directory Projects to the group engineers

8. Change the group owner of the directory Bills to the group accountants

9. Change the permissions on the directory Projects to allow read, write and execute for you

(root) and the group owner, and no permissions for other users.

10. Change the permissions on the directory Bills to allow read, write and execute for you

(root) and the group owner and no permissions for other users.

Log as eng1

11. Create a new file named project1 in the directory Projects

12. Edit the file project1, add “this project has been created by eng1” then save.

13. Change the group owner of the file project1 to the group engineers

14. Change the permissions on the file project1 to allow read, write and execute for you

(eng1) and the group owner, and no permissions for other users.

Log as eng2

15. Create two new files named project2 and project3 in the directory Projects

16. Edit the file project2, add “this project has been created by eng2” then save.

17. Change the group owner of the file project2 to the group engineers

18. Change the permissions on the file project2 to allow read, write and execute for you

(eng2) and read and execute for the group owner, and no permissions for other users.

19. Verify the permissions assigned to project1 and project2 and project3

20. Assign the same permissions for project3 as the permissions assigned to project2

Log as root

21. Change user ownership of the file project2 to eng1

Log as acc1

22. Create a new subdirectory named ABCbills in the directory Bills (/share/Bills/ABCbills)

23. Create two files named bill1 and bill2 under the subdirectory ABCbills

24. Verify the permissions setting for the subdirectory ABCbills and the files inside

25. Change the group owner of the subdirectory ABCbills and the files within it to the group

accountants

26. Verify the new group owner for the subdirectory ABCbills and the files inside

Log as root

27. Change the user ownership of the subdirectory ABCbills and the files within it to acc2.

28. Verify the new user owner for the subdirectory ABCbills and the files inside

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE

Related Questions