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...

  • In this hands-on project, you compile and install a program from source code. On your Fedora...

    In this hands-on project, you compile and install a program from source code. On your Fedora Linux virtual machine, switch to a graphical terminal (tty1) by pressingCtrl+Alt+F1 and log in to the GNOME desktop using the user name of user1 and the password of LNXrocks!. Open the Firefox Web browser and download the source code tarball for rdesktop 1.8.2 (rdesktop-1.8.2.tar.gz) from www.rdesktop.org. Save the source code tarball to the default location (/home/user1/Downloads) and log out of the GNOME desktop when...

  • WITH SCREENSHOTS PLEASE Linux+ Guide to Linux Certification Project 9-3 In this hands-on project, you run...

    WITH SCREENSHOTS PLEASE Linux+ Guide to Linux Certification Project 9-3 In this hands-on project, you run processes in the background, kill them using the kill and killall commands, and change their priorities using the nice and renice commands. 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 sleep 6000 and...

  • 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 3-7 In this hands-on project, you use the grep and egrep commands alongside regular ex...

    Project 3-7 In this hands-on project, you use the grep and egrep commands alongside regular ex pression metacharacters to ex plore the contents of tex t files. 1. 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 grep “Inn” sample1 and press Enter. What is displayed and why? 3. At the command prompt, type grep -v “Inn”...

  • 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...

  • One can incidentally terminate sushi by pressing Ctrl+C (Ctrl+Break, Command+dot) or a similar combination of keys...

    One can incidentally terminate sushi by pressing Ctrl+C (Ctrl+Break, Command+dot) or a similar combination of keys that sends SIGNIT to the shell. Function prevent_interruption() sets up a signal handler that intercepts SIGINT and displays message “Type exit to exit the shell” on stderr. The name of the handler is refuse_to_die(), its skeleton and the skeleton of prevent_interruption() are provided in sushi.c. Hint: use system call sigaction() to set up the handler. As a result, when you attempt to interrupt the...

  • 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)...

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