Question

On your Fedora Linux virtual machine, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and...

  1. On your Fedora Linux virtual machine, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and log in to the terminal using the user name of root and the password of LNXrocks!.

  2. At the command prompt, type cat /etc/shadow and press Enter. Record the encrypted password for bozo’s user account.

  3. At the command prompt, type passwd –l bozo and press Enter to lock bozo’s user account.

  4. At the command prompt, type cat /etc/shadow and press Enter. What has been changed regarding the original encrypted password recorded in Step 2?

  5. Switch to a command-line terminal (tty5) by pressing Ctrl+Alt+F5 and attempt to log in to the terminal using the user name of bozo and the password of LNXrocks!. Were you successful?

  6. Switch back to the command-line terminal (tty2) by pressing Ctrl+Alt+F2.

  7. At the command prompt, type passwd –u bozo and press Enter to unlock bozo’s user

    account.

  8. At the command prompt, type cat /etc/shadow and press Enter. Compare the

    encrypted password for bozo’s user account to the one recorded in Step 2.

  9. Switch to a command-line terminal (tty5) by pressing Ctrl+Alt+F5 and attempt to log in to the terminal using the user name of bozo and the password of LNXrocks!. Were you successful?

  10. Type exit and press Enter to log out of your shell.

  11. Switch back to the command-line terminal (tty2) by pressing Ctrl+Alt+F2.

  12. At the command prompt, type chsh –s /bin/false bozo and press Enter to change bozo’s shell to /bin/false. What message did you receive? Was the shell changed? Typecat /etc/passwd at a command prompt to verify that the shell was changed to /bin/ false for bozo’s user account.

  13. Switch to a command-line terminal (tty5) by pressing Ctrl+Alt+F5 and attempt to log in to the terminal using the user name of bozo and the password of LNXrocks!. Were you successful?

  14. Switch back to the command-line terminal (tty2) by pressing Ctrl+Alt+F2.

  15. At the command prompt, type chsh –s /bin/bash bozo and press Enter to change

    bozo’s shell to /bin/bash.

  16. Switch to a command-line terminal (tty5) by pressing Ctrl+Alt+F5 and attempt to log in to the terminal using the user name of bozo and the password of LNXrocks!. Were you successful?

  17. Type exit and press Enter to log out of your shell.

  18. Switch back to the command-line terminal (tty2) by pressing Ctrl+Alt+F2.

  19. Type exit and press Enter to log out of your shell.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

if you have any doubt then please ask me without any hesitation in the comment section below , if you like my answer then please thumbs up for the answer , before giving thumbs down please discuss the question it may possible that we may understand the question different way and we can edit and change the answers if you argue, thanks :)

Add a comment
Know the answer?
Add Answer to:
On your Fedora Linux virtual machine, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • On your Fedora Linux virtual machine, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and...

    On your Fedora Linux virtual machine, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and log in to the terminal using the user name of root and the password of LNXrocks!. At the command prompt, type ps –ef | grep bash and press Enter to view the bash shells that are running in memory on your computer. Record the PID of the bash shell running in your terminal (tty2): . At the command prompt, type kill –l and press...

  • On your Fedora Linux virtual machine, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and...

    On your Fedora Linux virtual machine, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and log in to the terminal using the user name of root and the password of LNXrocks!. At the command prompt, type sleep 6000 and press Enter to start the sleep com- mand, which waits 6000 seconds in the foreground. Do you get your prompt back after you enter this command? Why? Send the process an INT signal by typing theCtrl+c key combination. At the...

  • with SCREENSHOTS PLEASE Linux+ Guide to Linux Certification Project 9-4 In this hands-on project, you view...

    with SCREENSHOTS PLEASE Linux+ Guide to Linux Certification Project 9-4 In this hands-on project, you view and manage processes using the top command-line utility. 1. On your Fedora Linux virtual machine, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and log in to the terminal using the user name of root and the password of LNXrocks!. 2. At the command prompt, type top and press Enter. 3. From the output on the terminal screen, record the following information: a....

  • Project 4-4 In this hands-on project, you make and view links to files and directories. Switch to...

    Project 4-4 In this hands-on project, you make and view links to files and directories.Switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and log in to the terminal using the user name of root and the password of secret.At the command prompt, type cd samples and press Enter. Next, type ls -F at the command prompt and press Enter. What files do you see? Next, type ls -l at the command prompt and press Enter. What is the link...

  • I need screenshots of every step please Case Projects Case Project 7-1: Use SSH in Ubuntu...

    I need screenshots of every step please Case Projects Case Project 7-1: Use SSH in Ubuntu In this project, you learn to use SSH in Ubuntu. Using the Ubuntu VMs you created in the case projects in Chapters 2 and 3, follow the steps to use SSH. Using the VM that has Ubuntu Server installed, do the following: 1. Start the VM and log on 2. SSH is included in Ubuntu Server but is not installed. Enter this command to...

  • Using Unix/Linux Command line in terminal and C programming. (b) Write a basic C program contained...

    Using Unix/Linux Command line in terminal and C programming. (b) Write a basic C program contained in a1q4.c and perform the following tasks in your program’s main() function: (8 marks) • Declare and initialize at least one variable of these types: char, int, unsigned int, float, double and long double. When initializing your variables, ensure the constants you use are of the same type as your variable. See the “Constants” section of Topic 7 for more information. • Use printf(3)...

  • Project 4-3: In the following steps, you will learn more about the PING (Packet Internet Grouper)...

    Project 4-3: In the following steps, you will learn more about the PING (Packet Internet Grouper) utility, which can be used on a network running IPv4 to verify that TCP/IP is configured correctly and communicating with the network. A ping test is typically the first thing network professionals try when troubleshooting a TCP/IP connection problem. For this project, you can use any type of workstation that's running TCP/IPv4, preferably one connected to the Internet. The output described in the following...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT