Past ExamsRwanda ICT preparation

Topics / Operating Systems

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 RWF

MIFOTRA exam practicealigned to Practice set: Linux and CMD Commands·3 marks·Hard

More Operating Systems questions