Does `sshfs -o allow_root` open any security holes? Why isn't allow_root enabled by default?2019 Community Moderator ElectionWhy does root get Permission denied when accessing FUSE directory?Can't mount remote file system with sshfsWhy does mount require root privileges?Having trouble exporting FUSE via NFSMount with sshfs and write file permissionsUsers in sshfs filesystem, or alternativesallow all users to access sshfs mountsAlternative to adding 'user_allow_other' to /etc/fuse.conf for security?SSHFS mount option default_permissions does not support ACL's - please explainHow to automount SSHFS shares for a user upon login?

Why is so much work done on numerical verification of the Riemann Hypothesis?

What's the name of the logical fallacy where a debater extends a statement far beyond the original statement to make it true?

It grows, but water kills it

Does "he squandered his car on drink" sound natural?

Microchip documentation does not label CAN buss pins on micro controller pinout diagram

How do you make your own symbol when Detexify fails?

How much theory knowledge is actually used while playing?

Why do ¬, ∀ and ∃ have the same precedence?

What features enable the Su-25 Frogfoot to operate with such a wide variety of fuels?

How can ping know if my host is down

Has the laser at Magurele, Romania reached a tenth of the Sun's power?

Multiplicative persistence

US tourist/student visa

Is this part of the description of the Archfey warlock's Misty Escape feature redundant?

How does electrical safety system work on ISS?

Which was the first story featuring espers?

Shouldn’t conservatives embrace universal basic income?

Creating two special characters

PTIJ: Why is Haman obsessed with Bose?

Why does Carol not get rid of the Kree symbol on her suit when she changes its colours?

What does Apple's new App Store requirement mean

Taxes on Dividends in a Roth IRA

Delete multiple columns using awk or sed

Is it allowed to activate the ability of multiple planeswalkers in a single turn?



Does `sshfs -o allow_root` open any security holes? Why isn't allow_root enabled by default?



2019 Community Moderator ElectionWhy does root get Permission denied when accessing FUSE directory?Can't mount remote file system with sshfsWhy does mount require root privileges?Having trouble exporting FUSE via NFSMount with sshfs and write file permissionsUsers in sshfs filesystem, or alternativesallow all users to access sshfs mountsAlternative to adding 'user_allow_other' to /etc/fuse.conf for security?SSHFS mount option default_permissions does not support ACL's - please explainHow to automount SSHFS shares for a user upon login?










1
















allow_root



This option is similar to allow_other but file access is limited to the user mounting the filesystem and root. This option and allow_other are mutually exclusive.



From mount.fuse(8)




If the platform matters, assume that I'm on the latest version of FUSE and Linux.










share|improve this question


























    1
















    allow_root



    This option is similar to allow_other but file access is limited to the user mounting the filesystem and root. This option and allow_other are mutually exclusive.



    From mount.fuse(8)




    If the platform matters, assume that I'm on the latest version of FUSE and Linux.










    share|improve this question
























      1












      1








      1









      allow_root



      This option is similar to allow_other but file access is limited to the user mounting the filesystem and root. This option and allow_other are mutually exclusive.



      From mount.fuse(8)




      If the platform matters, assume that I'm on the latest version of FUSE and Linux.










      share|improve this question















      allow_root



      This option is similar to allow_other but file access is limited to the user mounting the filesystem and root. This option and allow_other are mutually exclusive.



      From mount.fuse(8)




      If the platform matters, assume that I'm on the latest version of FUSE and Linux.







      linux security sshfs fuse






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 17 at 0:37









      NavinNavin

      150111




      150111




















          1 Answer
          1






          active

          oldest

          votes


















          0














          When you use this option, you're giving the system administrator(s) of this machine access to your files on the remote server, which they wouldn't have if they don't have their own accounts on that server.



          But since root has access to everything on this client machine, they don't really need your permission. They can use su to changed to your userid, and then they'll be able to access anything you can access.



          So this just makes things easier for the superuser. This is useful if you're the sole user of the machine, so root is really yourself, and you want to be able to access your SSHFS filesystems while using sudo.






          share|improve this answer

























          • I haven't studied the problem in depth, but I have the hunch that the existence of the allow_root option is an accomodation made for sudo-maniacs rather than anything else -- they were trying to use sudo command /path/to/remote/file directly, failed, so this option was added to make them happy.

            – mosvy
            yesterday











          • It probably makes sense for single-user machines, where root is essentially the same user. Although then allow_other is also reasonable.

            – Barmar
            yesterday











          • In other words, it gives users a false sense of security. Root doesn't care about your private key or password; root can just login as you with su and access your mounted FUSE filesystems. Dunno why you mention keyloggers.

            – Navin
            22 hours ago












          • I was thinking about root mounting your filesystem without you, so it would need your SSH credentials, but that's not what this is about.

            – Barmar
            21 hours ago










          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f506753%2fdoes-sshfs-o-allow-root-open-any-security-holes-why-isnt-allow-root-enabled%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          When you use this option, you're giving the system administrator(s) of this machine access to your files on the remote server, which they wouldn't have if they don't have their own accounts on that server.



          But since root has access to everything on this client machine, they don't really need your permission. They can use su to changed to your userid, and then they'll be able to access anything you can access.



          So this just makes things easier for the superuser. This is useful if you're the sole user of the machine, so root is really yourself, and you want to be able to access your SSHFS filesystems while using sudo.






          share|improve this answer

























          • I haven't studied the problem in depth, but I have the hunch that the existence of the allow_root option is an accomodation made for sudo-maniacs rather than anything else -- they were trying to use sudo command /path/to/remote/file directly, failed, so this option was added to make them happy.

            – mosvy
            yesterday











          • It probably makes sense for single-user machines, where root is essentially the same user. Although then allow_other is also reasonable.

            – Barmar
            yesterday











          • In other words, it gives users a false sense of security. Root doesn't care about your private key or password; root can just login as you with su and access your mounted FUSE filesystems. Dunno why you mention keyloggers.

            – Navin
            22 hours ago












          • I was thinking about root mounting your filesystem without you, so it would need your SSH credentials, but that's not what this is about.

            – Barmar
            21 hours ago















          0














          When you use this option, you're giving the system administrator(s) of this machine access to your files on the remote server, which they wouldn't have if they don't have their own accounts on that server.



          But since root has access to everything on this client machine, they don't really need your permission. They can use su to changed to your userid, and then they'll be able to access anything you can access.



          So this just makes things easier for the superuser. This is useful if you're the sole user of the machine, so root is really yourself, and you want to be able to access your SSHFS filesystems while using sudo.






          share|improve this answer

























          • I haven't studied the problem in depth, but I have the hunch that the existence of the allow_root option is an accomodation made for sudo-maniacs rather than anything else -- they were trying to use sudo command /path/to/remote/file directly, failed, so this option was added to make them happy.

            – mosvy
            yesterday











          • It probably makes sense for single-user machines, where root is essentially the same user. Although then allow_other is also reasonable.

            – Barmar
            yesterday











          • In other words, it gives users a false sense of security. Root doesn't care about your private key or password; root can just login as you with su and access your mounted FUSE filesystems. Dunno why you mention keyloggers.

            – Navin
            22 hours ago












          • I was thinking about root mounting your filesystem without you, so it would need your SSH credentials, but that's not what this is about.

            – Barmar
            21 hours ago













          0












          0








          0







          When you use this option, you're giving the system administrator(s) of this machine access to your files on the remote server, which they wouldn't have if they don't have their own accounts on that server.



          But since root has access to everything on this client machine, they don't really need your permission. They can use su to changed to your userid, and then they'll be able to access anything you can access.



          So this just makes things easier for the superuser. This is useful if you're the sole user of the machine, so root is really yourself, and you want to be able to access your SSHFS filesystems while using sudo.






          share|improve this answer















          When you use this option, you're giving the system administrator(s) of this machine access to your files on the remote server, which they wouldn't have if they don't have their own accounts on that server.



          But since root has access to everything on this client machine, they don't really need your permission. They can use su to changed to your userid, and then they'll be able to access anything you can access.



          So this just makes things easier for the superuser. This is useful if you're the sole user of the machine, so root is really yourself, and you want to be able to access your SSHFS filesystems while using sudo.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 21 hours ago

























          answered yesterday









          BarmarBarmar

          7,0821424




          7,0821424












          • I haven't studied the problem in depth, but I have the hunch that the existence of the allow_root option is an accomodation made for sudo-maniacs rather than anything else -- they were trying to use sudo command /path/to/remote/file directly, failed, so this option was added to make them happy.

            – mosvy
            yesterday











          • It probably makes sense for single-user machines, where root is essentially the same user. Although then allow_other is also reasonable.

            – Barmar
            yesterday











          • In other words, it gives users a false sense of security. Root doesn't care about your private key or password; root can just login as you with su and access your mounted FUSE filesystems. Dunno why you mention keyloggers.

            – Navin
            22 hours ago












          • I was thinking about root mounting your filesystem without you, so it would need your SSH credentials, but that's not what this is about.

            – Barmar
            21 hours ago

















          • I haven't studied the problem in depth, but I have the hunch that the existence of the allow_root option is an accomodation made for sudo-maniacs rather than anything else -- they were trying to use sudo command /path/to/remote/file directly, failed, so this option was added to make them happy.

            – mosvy
            yesterday











          • It probably makes sense for single-user machines, where root is essentially the same user. Although then allow_other is also reasonable.

            – Barmar
            yesterday











          • In other words, it gives users a false sense of security. Root doesn't care about your private key or password; root can just login as you with su and access your mounted FUSE filesystems. Dunno why you mention keyloggers.

            – Navin
            22 hours ago












          • I was thinking about root mounting your filesystem without you, so it would need your SSH credentials, but that's not what this is about.

            – Barmar
            21 hours ago
















          I haven't studied the problem in depth, but I have the hunch that the existence of the allow_root option is an accomodation made for sudo-maniacs rather than anything else -- they were trying to use sudo command /path/to/remote/file directly, failed, so this option was added to make them happy.

          – mosvy
          yesterday





          I haven't studied the problem in depth, but I have the hunch that the existence of the allow_root option is an accomodation made for sudo-maniacs rather than anything else -- they were trying to use sudo command /path/to/remote/file directly, failed, so this option was added to make them happy.

          – mosvy
          yesterday













          It probably makes sense for single-user machines, where root is essentially the same user. Although then allow_other is also reasonable.

          – Barmar
          yesterday





          It probably makes sense for single-user machines, where root is essentially the same user. Although then allow_other is also reasonable.

          – Barmar
          yesterday













          In other words, it gives users a false sense of security. Root doesn't care about your private key or password; root can just login as you with su and access your mounted FUSE filesystems. Dunno why you mention keyloggers.

          – Navin
          22 hours ago






          In other words, it gives users a false sense of security. Root doesn't care about your private key or password; root can just login as you with su and access your mounted FUSE filesystems. Dunno why you mention keyloggers.

          – Navin
          22 hours ago














          I was thinking about root mounting your filesystem without you, so it would need your SSH credentials, but that's not what this is about.

          – Barmar
          21 hours ago





          I was thinking about root mounting your filesystem without you, so it would need your SSH credentials, but that's not what this is about.

          – Barmar
          21 hours ago

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f506753%2fdoes-sshfs-o-allow-root-open-any-security-holes-why-isnt-allow-root-enabled%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

          Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

          Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.