Skip to main content

Does /etc/fstab need to be world readable? [Resolved]

I would like to put network share mounts in /etc/fstab, but by default that file is world-readable which allows everyone to read the credentials I put into the mount options.

Is it safe to make /etc/fstab not readable by anyone other than root, e.g. owned by root:root with permissions 0640?

FWIW, I am using Debian Squeeze/Wheezy and Ubuntu LTS.


Question Credit: Rob
Question Reference
Asked October 6, 2019
Posted Under: Network
8 views
1 Answers

Your Answer
D:\Adnan\Candoerz\CandoProject\vQA