/etc/fstab File Permissions

by Kian   Last Updated June 30, 2018 21:02 PM

I'm currently configuring my /etc/fstab file so that it mounts my SMB Sharing on my system boot. I know as a fact that the default permissions of this file are 644. However, I'm actually going to put my SMB user's password into this file, so I would like to know if it is a good idea to change this file's permissions (e.g. make it 640) so that my credentials stay safe if one of my system's services gets compromised?


Related Questions

Samba: Trying to mount Windows Shares as Read/Write

Updated February 26, 2017 21:02 PM

Mount samba share in startup

Updated April 23, 2017 20:02 PM

How to change permissions on mounted windows share?

Updated November 26, 2017 18:02 PM