Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Complete the following tasks. Tasks should be completed in the order below. When

ID: 3842763 • Letter: C

Question

Complete the following tasks. Tasks should be completed in the order below. When you are finished, click the Done button to close the lab and move to the next question. Only click the Done button after you have finished all required tasks. After clicking Done, you will be unable to restart the lab. Complete the following tasks in the Linux operating system from the Command Line Interface (CLI): 1. Find the baby1 print job number and use it to delete the baby1 print job from the print queue. 2. Change the password for the sgarcia user account to p@0rd_y3w. 3. Configure the machine to shut down as follows: Delay: 1 Minute Message for all logged-in users: It is time for a shutdown!

Explanation / Answer

The commands are as follows:

1.Find the baby1 print job number and use it to delete baby1 print job from the queue.
#lpstat -o   //This will list all the print jobs with their numbers.Look for the job baby1 and get its job number
#lprm job#

2.Changing the password of sgarcia user account to p@Ord_y3w
   #su
   Enter root password
   #passwd sgarcia
   Enter the new password.

3.Configure the machine to shutdown with following configuration:
             Delay: 1 minute
             Message for all logged in users: It is time for a shutdown!

#shutdown +1 "It is time for a shutdown!"