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...
(I already have part A but still still include it anyways so you can use its...
(I already have part A but still still include it anyways so you can use its data to solve for parts B and C. Chemical energy is released or absorbed from reactions in various forms. The most easily measurable form of energy comes in the form of heat, or enthalpy. The enthalpy of a reaction can be calculated from the heats of formation of the substances involved in the reaction: ΔH∘rxn=ΔH∘f(products)−ΔH∘f(reactants) Entropy change, ΔS∘, is a measure of the number...
to be done in java Your task is to finish the StockItem class so that it...
to be done in java Your task is to finish the StockItem class so that it meets the following criteria • The StockItem class will have 4 attributes: a stock number; a name; the price of the item; the total number of items currently in stock • The first three of the above characteristics will need to be set at the time a StockItem object is created, with the total number of items set to 0 at this time. The...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT