Question

Operating Systems 1.       User john, whose home directory is /home/john, manages to execute the following commands...

Operating Systems

1.       User john, whose home directory is /home/john, manages to execute the following commands with super-user privileges:

cp /bin/sh /home/john/my_sh

chown root /home/john/my_sh

chmod 4777 /home/john/my_sh


a. Describe how the sequence of commands work?

b. What security vulnerabilities has user john created on the system by executing the above statements?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

a.commands sequence order :

chmod 4777 /home/john/my_sh

-it gives full access (read,write,execute) to all users

chown root /home/john/my_sh

- it changes ownership to root

cp /bin/sh /home/john/my_sh

-it copies the file to desired path by giving target path in 2nd argument

b. above commaands just changes access restrictions and owner of tha path /home/john/my_sh and

Add a comment
Know the answer?
Add Answer to:
Operating Systems 1.       User john, whose home directory is /home/john, manages to execute the following commands...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Risk management in Information Security today Everyday information security professionals are bombarded with marketing messages around...

    Risk management in Information Security today Everyday information security professionals are bombarded with marketing messages around risk and threat management, fostering an environment in which objectives seem clear: manage risk, manage threat, stop attacks, identify attackers. These objectives aren't wrong, but they are fundamentally misleading.In this session we'll examine the state of the information security industry in order to understand how the current climate fails to address the true needs of the business. We'll use those lessons as a foundation...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT