Question: At the command prompt, type sudo passwd root and press Enter to set the root user password. When prompted, enter your password LINUXrocks!, and then

At the command prompt, type sudo passwd root and press Enter to set the root user password. When prompted, enter your password LINUXrocks!, and then enter the desired root password of LINUXrocks! twice to set the root user password to LINUXrocks!
3
At the command prompt, type date and press Enter to view the current date and time. Now, type Date and press Enter. Why did you receive an error message? Can you tell which shell gave you the error message?
4
Switch to a different command-line terminal (tty5) by pressing Ctrl+Alt+F5 and log in to the terminal using the user name of root and the password of LINUXrocks!. Which prompt did you receive and why?
5
At the command prompt, type who and press Enter to view the users logged in to the system. Who is logged in and on which terminal?
6
Switch back to the terminal tty3 by pressing Ctrl+Alt+F3. Did you need to log in? Are the outputs from the date and Date commands still visible?
7
Try typing each command listed in Table 2-6 in order (pressing Enter after each) and observe the output. What did the last command (exit) do?
8
Switch to the terminal tty5 by pressing Ctrl+Alt+F5 and type exit to log out of your shell.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!