On a Linux server, /etc/passwd can be read by every user. Where are the password hashes actually stored, and why?
Sur un serveur Linux, /etc/passwd est lisible par tous les utilisateurs. Où sont réellement stockées les empreintes des mots de passe, et pourquoi ?
Answers
AIn /etc/passwd, because every user needs them to sign inDans /etc/passwd, car chaque utilisateur en a besoin pour se connecter
BIn each user's /home directory, so every user keeps their own private copyDans le répertoire /home de chaque utilisateur, pour que chacun garde sa propre copie privée
CIn /etc/shadow, readable only by root, to stop offline crackingDans /etc/shadow, lisible par root seulement, pour empêcher le cassage hors ligne
DThey are not stored anywhere on the serverElles ne sont stockées nulle part sur le serveur
The answer and explanation are in the full bank.
This question is one of 2,831 in the paid banks. Each comes with the correct answer and the reasoning behind it, not just a mark.
Unlock for 5,000 RWFMIFOTRA exam practicealigned to Practice set: Linux and CMD Commands·3 marks·Hard
More Operating Systems questions
- You need to print the whole contents of a file. Which command does that?
- What does the Linux command `uname` do?
- What does the Linux command `chmod` do?
- On a Linux system, what does /boot contain?
- What does the Linux command `ping` do?
- What does the Linux command `ps` do?
- What does the Linux command `tar` do?
- You need to search a directory tree for files matching criteria. Which command does that?