Final answer:
The question requires logging in as a user and root, creating a text file, checking and changing its permissions, and taking screenshots from the CentOS Terminal.
Step-by-step explanation:
The question involves performing several operations within a terminal of a CentOS operating system. The tasks include logging in as a user, file creation, checking permissions, changing ownership and permissions of a file using command line interface (CLI), specifically on Virtual Machine's terminal.Steps for the task:Login as 'alice' using the command 'su - alice', then access the Downloads directory with 'cd /home/alice/Downloads'. Create a text file using 'touch mytextfile.txt' or 'vim mytextfile.txt' if adding contentimmediately.To check the file's permissions and ownership, use the command 'ls -l mytextfile.txt'
.Login as root from the current user with 'su -' and navigate to the file's location.To change the file's ownership to 'bob', execute the command 'chown bob mytextfile.txt'.Set the required permissions using 'chmod 774 mytextfile.txt', allowing owner and group full permissions, and others read-only access.Verify the changes with 'ls -l mytextfile.txt' again.Screenshots for each step are requested, which cannot be provided here. You will need to perform these steps and take screenshots using tools such as gnome-screenshot, ksnapshot, or any other screen capture tool available on your CentOS system.