Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. (50 points) We experiment with permissions on files in this exercise. a. Find out the permissions on /etc/passwd and explain the meaning of
1. (50 points) We experiment with permissions on files in this exercise. a. Find out the permissions on /etc/passwd and explain the meaning of the permissions. b. Find out the permissions on command mount and explain the meaning of the permissions. You can find the path to the program with which command "which mount". c. What is the primary group of user seed? What are the supplementary groups? d. Create a new file a. Use a text editor or simply redirect output as "echo message > a". Find its permissions and associated user id and group id. e. The command chmod can change permissions on files and directories. Use the command to change the permissions of file a so that group and other users do not any permissions. f. The command chown can change the owner and group associated with a file. Change the group associated with file a to sudo. g. Change file a's group to ssh. If you do not run the command with sudo, you will see an error message. Why?
Step by Step Solution
★★★★★
3.47 Rating (144 Votes )
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started