CS340 Grantham Filesystem Manipulation and Permissions Paper For admin tasks you will need to switch to the root user: Filesystem Manipulation & Permissions
Your Task
Locate and utilize linux system administration commands to create users and groups. Standard
linux commands will be used to allocate specific user and group permissions for files and
directories.
For admin tasks you will need to switch to the root user:
Part 1: User and Group Creation
“sudo su -“
Create 3 new groups:
cs
math
science
Create 2 new users named “steve” and “lucy” with the following attributes:
•
•
•
•
default shell is /bin/bash
comment (GECOS) field contains full names (Steve Smith / Lucy Goosey)
steve primary group = math additional group = science
lucy primary group = cs additional group = science
Make your own account members of all three groups.
Part 2: Create New Filesystems
Like we did last week, add 1 new 50 MB Fixed Size Virtual Disk to your linux Partition. This is
done using the Virtual Box interface while your Linux Virtual Machine is shut down.
Using fdisk create 3 new 15 MB “linux” partitions on this newly added virtual disk.
Using mkfs.ext4, create 3 new filesystems on each new logical partition and mount them with
the names below:
/math
/cs
/science
Once your filesystems are created and mounted, add an entry for each one in the /etc/fstab file in
the corret format such that they automatically mount up when you reboot. Use UUID for the
device so that the filesystem mounts even if the device address changes. Test and verify it is
working by rebooting.
Part 3: Permissions
•
•
•
•
•
•
•
•
•
Set group owner of /cs to “cs”
Set group owner of /math to “math”
Set group owner of /science to “science”
Create a directry in /cs called cs_homework
Create a directory in /math called math_homework
Create a directory in /science called science_homework
Adjust permission so only the owner and members of the group “cs” can access the “cs”
filesystem
Adjust permission so only members of the group “math” can access the “math”
filesystem
Adjust permission so anyone can access the “science” filesystem.
Note: you can use the “touch” command to create an empty file for testing. i.e. touch file1
•
•
•
•
•
•
•
•
Create a file in /cs/cs_homework which only lucy can access with read only access.
Create a file in /cs/cs_homnework which all members of cs group can access with read
only access.
Create a file in /math/math_homework which only steve can access with read and execute
access.
Create a file in /math/math_homework which all members of group math can access with
read and execute access.
Create a file in /science/science_homework which both steve and lucy can access with
read and execute.
Create a file in /science/science_homework which only steve can access with read / write
/ execute access.
Create a file in /science/science_homework which only lucy can access with read / write /
execute access.
Create a file in /science/science_homework which anyone can access with read / write /
execute permissions.
Use the long listing command to show filesytem, directory, and file permissions and capture
screenshots.
Using the “df” commands, report how much space total space is allocated to each filesystem and
how much is used. Report how many inodes are allocated and how many are used.
Purchase answer to see full
attachment
Why should I choose Homework Writings Pro as my essay writing service?
We Follow Instructions and Give Quality Papers
We are strict in following paper instructions. You are welcome to provide directions to your writer, who will follow it as a law in customizing your paper. Quality is guaranteed! Every paper is carefully checked before delivery. Our writers are professionals and always deliver the highest quality work.
Professional and Experienced Academic Writers
We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.
Reasonable Prices and Free Unlimited Revisions
Typical student budget? No problem. Affordable rates, generous discounts - the more you order, the more you save. We reward loyalty and welcome new customers. Furthermore, if you think we missed something, please send your order for a free review. You can do this yourself by logging into your personal account or by contacting our support..
Essay Delivered On Time and 100% Money-Back-Guarantee
Your essay will arrive on time, or even before your deadline – even if you request your paper within hours. You won’t be kept waiting, so relax and work on other tasks.We also guatantee a refund in case you decide to cancel your order.
100% Original Essay and Confidentiality
Anti-plagiarism policy. The authenticity of each essay is carefully checked, resulting in truly unique works. Our collaboration is a secret kept safe with us. We only need your email address to send you a unique username and password. We never share personal customer information.
24/7 Customer Support
We recognize that people around the world use our services in different time zones, so we have a support team that is happy to help you use our service. Our writing service has a 24/7 support policy. Contact us and discover all the details that may interest you!
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Our Services
Our reputation for excellence in providing professional tailor-made essay writing services to students of different academic levels is the best proof of our reliability and quality of service we offer.
Essays
When using our academic writing services, you can get help with different types of work including college essays, research articles, writing, essay writing, various academic reports, book reports and so on. Whatever your task, homeworkwritingspro.com has experienced specialists qualified enough to handle it professionally.
Admissions
Admission Essays & Business Writing Help
An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.
Reviews
Editing Support
Our professional editor will check your grammar to make sure it is free from errors. You can rest assured that we will do our best to provide you with a piece of dignified academic writing. Homeworkwritingpro experts can manage any assignment in any academic field.
Reviews
Revision Support
If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. You can use this option as many times as you see fit. This is free because we want you to be completely satisfied with the service offered.