Question: We will work with users and groups in our Fedora server VM . Objectives 1 . Start Fedora server virtual machine. 2 . Create new
We will work with users and groups in our Fedora server VM
Objectives
Start Fedora server virtual machine.
Create new files and directories.
Change permissions.
Document steps for inclusion in a project report to be submitted for review and grading in Blackboard.
Prerequisites
A Windows or MacOS device with a functioning hypervisor eg VMware Workstation Pro
Creating directories and changing permissions
Log in to your root account.
Enter your home directory using command cd ~ and create a directory called tmpinclass. Use the command mkdir tmpinclass.
Now, create a directory tree rooted in the tmpinclass directory, with directories and at least two files in each directory. You can select names for your directories and files. Note: Make sure you follow the file name conventions, like no spaces in filenames.
For the directory tree, set the following permissions. Enter the commands in your Linux environment and take screenshots after each step.
First directory: owner should have read write and execute, group should have read and write, others should have read permissions. The command would be chmod directoryname.
Second directory: owner should have read and write, group should have read, others should have read permissions. What command did you use?
Third directory: all should have read permission. What command did you use?
Enter the first directory and use symbolic way to change the permissions of the files. You can select what permission each file has. Every file should have a different permission. Write the commands used.
&
Enter the second directory and use symbolic way to change the permissions of the file. You can select what permission each file has. Every file should have the same permission. Write the commands used.
Enter the third directory and use numeric way to change the permissions of the file. You can select what permission each file has. Every file should have the same permission. Write the commands used.
Logout.
Short Answers Ignore SUID, SGID and sticky bits:
Note: You do not have to implement these commands in Linux environment.
If we want to set rwxrwxr permissions for the directory, what mask should we set? Write the command.
If we want to set rwrwr permissions for the directory, what mask should we set? Write the command.
If the umask is set to for a directory, what permissions does it have?
If a umask is set to for a file, what permissions does it have?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
