You are not logged in.
Pages: 1
In the Expert Installer, I can choose special options to set my partitions or Devuan such as noa, nosuid and noexec.
For the most secure OS, what options should I check and what exactly do they do?
Also, what shouldn't I check in order to ensure Devuan functions properly?
Thanks.
Offline
From mount(8)
nosuid Do not honor set-user-ID and set-group-ID bits or file capabilities when executing programs from this
filesystem.
...TRUNCATED...
noexec Do not permit direct execution of any binaries on the mounted filesystem.
I cannot find exactly the "noa," so it is probably either noauto or noatime.
noatime
Do not update inode access times on this filesystem (e.g. for faster access on the news spool to
speed up news servers). This works for all inode types (directories too), so it implies nodiratime....TRUNCATED...
noauto Can only be mounted explicitly (i.e., the -a option will not cause the filesystem to be mounted).
So you certainly need any partition that houses /usr/bin, /bin/, /sbin/, /usr/sbin/ and probably /usr/local/bin to NOT have "noexec." Those partitions should also NOT have "nosuid."
I feel uncertain about the "noa" because I cannot determine which one it is. "noatime" is generally used on ssds to reduce how many writes happen to the disk, to minimize wear and tear. And in the installer for a distro of Linux, you should never choose "noauto." That's generally for secondary disks that don't need to be there for boot up.
Last edited by bgstack15 (2020-04-01 19:07:56)
This space intentionally left blank.
Offline
Thanks. I took note of all that.
Offline
Don't bother with noatime, modern SSDs need no special measures to restrict writes and will probably outlast most spinning rust drives.
Brianna Ghey — Rest In Power
Offline
Pages: 1