Question

In: Computer Science

If you have not done so already, boot your client VM. On the client VM, there...

If you have not done so already, boot your client VM.

On the client VM, there is a user account named 'jsmith' who recently got married and changed their name. They would like their user account to reflect their new last name

1.  Add a user account 'jjones'. (don't worry about setting the password)

2. In the home directory of the 'jsmith' account, there are 2 files.  Copy these files to the home directory of the 'jjones' account.

3.  Change the ownership of the files you just copied to 'jjones' (hint - you'll need to be root to do this). Do not change the group ownership.

4. While in the 'jjones' account's home directory, run the ls -l command and take a screen shot that shows that you've changed ownership of the files.

5. Upload the screen shot to Moodle.

Solutions

Expert Solution

Step 1: Enter the command sudo adduser jjones to add a new user named jjones.

Set any password you want to set for the user jjones and leave all remaining fields (like Full Name, Room Number, etc.) by pressing ENTER.

Step 2: Enter the command sudo cp -p /home/jsmith/* /home/jjones to copy all files from the home directory of jsmith to the home directory of jjones and preserving ownership of the file.

Step 3: Enter the command sudo chown jjones /home/jjones/* to change the ownership of the files to jjones while preserving the group ownership.

Step 4: Enter the command cd /home/jjones to go to the home directory of jjones and run the command ls -l to list all files in the home directory of jjones.

NOTE: The above commands have been used and tested in Ubuntu and dummy users and files have been used for the demonstration purpose.

FOR ANY HELP JUST DROP A COMMENT


Related Solutions

Considering the calculations you have done so far, you need to attend to a number of...
Considering the calculations you have done so far, you need to attend to a number of import and export transactions for goods that companies in the United States expressed interest in. The first transaction is for the import of good quality wines from Australia, since a retail liquor trading chain customer in the United States, for who you have been doing imports over the past five years has a very large order this time. The producer in Australia informed you...
Considering the calculations you have done so far, you need to attend to a number of...
Considering the calculations you have done so far, you need to attend to a number of import transactions for goods that companies in the United States expressed interest in. The first transaction is for the import of good quality wines from France, since a retail liquor trading chain customer in the United States, for who you have been doing imports over the past five years has a very large order this time. The producer in France informed you that the...
Considering the calculations you have done so far, you need to attend to a number of...
Considering the calculations you have done so far, you need to attend to a number of import transactions for goods that companies in the United States expressed interest in. The first transaction is for the import of good quality wines from France, since a retail liquor trading chain customer in the United States, for who you have been doing imports over the past five years has a very large order this time. The producer in France informed you that the...
Considering the calculations you have done so far, you need to attend to a number of...
Considering the calculations you have done so far, you need to attend to a number of import transactions for goods that companies in the United States expressed interest in. The first transaction is for the import of good quality wines from France, since a retail liquor trading chain customer in the United States, for who you have been doing imports over the past five years has a very large order this time. The producer in France informed you that the...
This is for AT&T: The analysis you have done so far might lead you to expect...
This is for AT&T: The analysis you have done so far might lead you to expect your company to operate with a particular kind of structure. What kind? To what extent does your organizations structure seem to fit with the characteristics of the organization’s technology? For example. Is the structure organic or mechanistic?
Considering the calculations you have done so far, you need to attend to a number of...
Considering the calculations you have done so far, you need to attend to a number of import and export transactions for goods that companies in the United States expressed interest in. The first transaction is for the import of good quality wines from Australia, since a retail liquor trading chain customer in the United States, for who you have been doing imports over the past five years has a very large order this time. The producer in Australia informed you...
A client brings a mixture to your lab for analyses. The client has done some preliminary...
A client brings a mixture to your lab for analyses. The client has done some preliminary analyses and has discovered that it is only composed of C, O, N, and H. The mixture is easily dissolved in several common organic solvents and the resultant solution is clear and colourless. The client tried to heat the sample, but the sample thermally decomposed at 280 °C to a black mass. The client wants you to determine how many components are in the...
Complete Part I of this assignment first, if you have not done so, because it provides...
Complete Part I of this assignment first, if you have not done so, because it provides guided practice on questions similar to the questions in Part II here. Check out the “Important Resources and Assignment Guides” in the Modules section on Canvas to see how to properly show your math work. There are also examples of the APA-style tables and graphs (figures) for your reference. Your submitted assignment must be in Word format, with a clear answer typed out for...
Write a program to print the number of class assignments you have done so far, the...
Write a program to print the number of class assignments you have done so far, the total grades, and average grade. Prompt a 0 input to end the program. Java Using while statements in the lecture this was provided. Wording confused me, Total grade is sum of all grades.
I have a programming project due tonight that I have already done once but my professor...
I have a programming project due tonight that I have already done once but my professor sent back because he said I did it wrong. He wants the following using linked lists but i only know how to do it with Arrays. Please try to explain your answer to me and not just give it to me. For this assignment you must write a program that implements a stack of integers. The stack should be implemented using classes and must...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT