Rootly Powers: Investigation
Lab: Rootly Powers
Step 5: Follow Up
- To do this step:
- You should have performed the first four steps in this lab.
- Instructions:
- In this section please create a word document containing the answers to the following portions.
- Include the item number and sub-number with your answers.
- Include full answers/descriptions. Do not be a minimalist.
- You may do this in a group, but please list all members of your group in your final document.
- Answer:
- List the three "special" things root can do on a *nix system.
- List two tools that allow a user to determine "who" they are on a *nix system.
- List three tools that allow you to look at a file on a *nix system. Describe what each does.
- List two tools that allow you to look at the processes running on a *nix system.
- Investigate sudo:
- Using the rootly powers image we used for the lab, answer the following questions.
- Explain your answers, showing you have learned the commands. Please do not just answer yes or no.
- Can Alice use the sudo command? What happens when she attempts to do so? Show a screen shot as part of your answer.
- John is Bob's "friend" and attempts to convince him to add his account(john) to the sudoers group. He asks Bob to add john to the sudo line in /etc/group.
- Can John edit the /etc/group file himself? Why or why not?
- Can John use sudo to edit /etc/group? Why or why not?
- As root, edit /etc/group using one of the following (leafpad, emacs, vi, nano, joe)
- Change the line
sudo:x:27:bob
- Simply add
,john
- The line should be
sudo:x:27:bob,john
- Can John use sudo now?
- Discuss the implications of a person with sudo privileges changing system configurations without a knowledge of what they are doing.
- Alice has discovered Bob's password.
- Discuss the implications.
- Why is it especially important that a person with sudo privileges maintains a secure password.
Required Files
Type your answers in a word document.
Submission
Submit the assignment to the D2L folder Homework2 by the assigned date.