QuestionQ62Verified/Linux Security and HardeningCopy linkReport a problemAsk AstroTutorSave questionWhich Linux command makes the already root-owned /etc/shadow file readable only by root?Achmod 444/etc/shadowBchown root: root/etc/shadowCchmod 400/etc/shadowDchown 400 /etc/shadowShow AnswerAnswerExplanationMode 400 grants read access to the file owner only and grants no permissions to the group or other users. Because root already owns /etc/shadow, only root can read it.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion