Question: Experiment with / bin / zsh Steps: 1 . Log in as root. 2 . Copy / bin / zsh to / tmp . 3

Experiment with /bin/zsh
Steps:
1. Log in as root.
2. Copy /bin/zsh to /tmp.
3. Set the copied /tmp/zsh to have Set-UID root permissions.
4. Log in as a regular user.
5. Execute /tmp/zsh.
6. Document whether you gain root privileges and explain your observations.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!