Question: Switch to root user with command su Use the touch command to create a file named file5a. Create another file name 5B, another named file5C.
Switch to root user with command su
Use the touch command to create a file named file5a. Create another file name 5B, another named file5C.
ls As root, enter the command: groupadd acmegroup
Check that you have created the group with the command: cat /etc/group
Do a long listing to determine the following information.
What user is the user/owner of fileB? (read,write,eXecute)?
What group is the group/owner of fileB?
What permissions does the user/owner have for fileB?
What permissions does the group have?
What permissions do others have?
Change the group for fileB to acmegroup
(long list to check group for fileB was changed)
Set permissions for the following. Use the octal mode (numbers):
file5a: rwxr-x---
file5b rwxrw-r
Change permissions for file5C using the symbolic mode
from r-xr-xr-x to rwxrw-r--
Create an empty file named cardA. Review the permissions. What was the UMASK set to?
Copy all files starting with the letters fi to the Document directory. Use a wildcard
Use a command to find within the filesystem, all files and directories named passwd. *there are nultiple files
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
