The setuid-root ntfs-3g driver applies the principle of least privilege during its lifetime as a safety measure. Below is an example how this can be done for users in the ntfsuser group to be able to mount any NTFS volume if they have also the needed volume access rights.Īddgroup ntfsuser chown root:ntfsuser $(which ntfs-3g) chmod 4750 $(which ntfs-3g) usermod -aG ntfsuser allowed-user Only the absolutely trusted users must be granted such access. Please note that using setuid-root can result unforeseen privilege escalation and its usage is discouraged.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |