What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)
The command userdel --force --remove bob is used to delete the user account named bob and all its associated files. The --force option forces the removal of the user account, even if the user is still logged in.The --remove option forces userdel to remove the user's home directory and mail spool, even if another user uses the same home directory or if the mail spool is not owned by the specified user12. Therefore, options A and B are true regarding this command.
The other options are not true because:
Option C is false because the locate database is not updated by the userdel command.The locate database is updated by the updatedb command, which is usually run by cron as a scheduled job3.
Option D is false because the userdel command does not remove all files owned by bob from all mounted filesystems. The userdel command only removes the user's home directory and mail spool, and it does not search for and delete the user files located in other file systems.You have to search for and delete the files manually1.
Option E is false because the userdel command does not delete the group with the same name as the user, unless the USERGROUPS_ENAB parameter is set to yes in the /etc/login.defs file and the group has no other members14.
How to Delete/Remove Users in Linux (userdel Command) | Linuxize
userdel(8) --- Linux manual page
updatedb(8) --- Linux manual page
Understanding the /etc/login.defs File | Linuxize
What is a purpose of an SSH host key?
An SSH host key is a cryptographic key used for authenticating computers in the SSH protocol. Host keys are key pairs, typically using the RSA, DSA, or ECDSA algorithms. Public host keys are stored on and/or distributed to SSH clients, and private keys are stored on SSH servers. Each host (i.e., computer) should have a unique host key. Host keys are used for authentication towards the connecting client, analogous to user SSH keys.Host keys are generated using asymmetric encryption algorithms like RSA, DSA, or ECDSA algorithms12. When a client connects to the host, the host sends its public host key to the client, and the client verifies that the host key matches the one stored in its known hosts file. If the host key is unknown or has changed, the client will display a warning and prompt the user to accept or reject the host key. This is to prevent man-in-the-middle attacks, where an attacker intercepts the connection and pretends to be the legitimate host. The other options are either incorrect or irrelevant to the purpose of an SSH host key.Reference:
What is an SSH Host Key & How are They Configured?, What are SSH Host Keys? section
SSH Host Key Management Demystified, What are SSH host keys? section
What is SSH host key - omnisecu.com, first paragraph
Which of Ihe following commands sets the system's time zone to the Canadian Eastern Time?
A)

B)

C)

D)

E)

By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)
Vi
2 days agoLenita
9 days agoJesus
16 days agoGretchen
24 days agoOra
1 month agoDaniel
1 month agoCasie
2 months agoBernardo
2 months agoTruman
2 months agoLizette
2 months agoCary
3 months agoAdelina
3 months agoBrandee
3 months agoJustine
3 months agoAudria
3 months agoKeva
4 months agoDominga
4 months agoOnita
4 months agoChantay
5 months agoMargart
5 months agoJuan
5 months agoHerman
5 months agoHubert
5 months agoMabel
6 months agoKami
6 months agoElinore
6 months agoMattie
7 months agoMarleen
7 months agoVilma
8 months agoAltha
9 months agoJusta
9 months agoKerry
11 months agoLevi
11 months agoLonny
12 months agoMargurite
12 months agoSkye
1 year agoBurma
1 year agoFreeman
1 year agoRebecka
1 year agoErinn
1 year agoJennie
1 year agoRonald
1 year agoCharlena
1 year agoErick
1 year agoCheryl
1 year agoKizzy
1 year agoValentine
1 year agoMalcom
1 year agoDelsie
1 year agoNada
1 year agoJanna
1 year agoDenae
1 year agoMagdalene
1 year agoArthur
1 year agoDeja
1 year agoLorean
1 year agoAmos
1 year agoJonelle
1 year agoWilda
1 year agoAmos
2 years agoTemeka
2 years agoSabra
2 years agoTamekia
2 years agoAnika
2 years agoNatalie
2 years ago