Limit FTP users to home directory on webminHow do I assign an Address-book admin for OpenLDAP?HTTP(S) based file serverHide Directory of other users on FTP Directory path for home to an external NTFS hard drivePlease clarify: Using SFTP on LAN for developmentTrying to keep users in their home directoryConfiguring VSFTPD for a webserverFTP account for just one directoryHow to allow FTP users to access my secondary hard disk?Spam moving to Junk folder whit Dovecot Sieve on 16.04.3

Modeling an IPv4 Address

The magic money tree problem

How do I create uniquely male characters?

I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine

What is the offset in a seaplane's hull?

What are these boxed doors outside store fronts in New York?

Is it legal for company to use my work email to pretend I still work there?

How do we improve the relationship with a client software team that performs poorly and is becoming less collaborative?

Show that if two triangles built on parallel lines, with equal bases have the same perimeter only if they are congruent.

How to say job offer in Mandarin/Cantonese?

The use of multiple foreign keys on same column in SQL Server

What does it mean to describe someone as a butt steak?

Is it important to consider tone, melody, and musical form while writing a song?

Why can't I see bouncing of a switch on an oscilloscope?

What do the dots in this tr command do: tr .............A-Z A-ZA-Z <<< "JVPQBOV" (with 13 dots)

Why does Kotter return in Welcome Back Kotter?

Are the number of citations and number of published articles the most important criteria for a tenure promotion?

Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?

How old can references or sources in a thesis be?

Why was the small council so happy for Tyrion to become the Master of Coin?

Arthur Somervell: 1000 Exercises - Meaning of this notation

What typically incentivizes a professor to change jobs to a lower ranking university?

If I cast Expeditious Retreat, can I Dash as a bonus action on the same turn?

How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?



Limit FTP users to home directory on webmin


How do I assign an Address-book admin for OpenLDAP?HTTP(S) based file serverHide Directory of other users on FTP Directory path for home to an external NTFS hard drivePlease clarify: Using SFTP on LAN for developmentTrying to keep users in their home directoryConfiguring VSFTPD for a webserverFTP account for just one directoryHow to allow FTP users to access my secondary hard disk?Spam moving to Junk folder whit Dovecot Sieve on 16.04.3






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I'm Using ProFTP on webmin, Ubuntu 14.04.



I need to make FTP accounts for clients, who are limited to just a specified folder with no other access to the server.



I would prefer if it was secure.



I originally had it working by creating a new user under system->users, I was able to log in but also able to navigate the directory tree.



I saw on another post that it was the incorrect way to do this.



If it helps, I'm trying to recreate FTP Accounts -> New User on cPanel. Like



Thanks for the help!










share|improve this question
















bumped to the homepage by Community 20 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.





















    0















    I'm Using ProFTP on webmin, Ubuntu 14.04.



    I need to make FTP accounts for clients, who are limited to just a specified folder with no other access to the server.



    I would prefer if it was secure.



    I originally had it working by creating a new user under system->users, I was able to log in but also able to navigate the directory tree.



    I saw on another post that it was the incorrect way to do this.



    If it helps, I'm trying to recreate FTP Accounts -> New User on cPanel. Like



    Thanks for the help!










    share|improve this question
















    bumped to the homepage by Community 20 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      0












      0








      0








      I'm Using ProFTP on webmin, Ubuntu 14.04.



      I need to make FTP accounts for clients, who are limited to just a specified folder with no other access to the server.



      I would prefer if it was secure.



      I originally had it working by creating a new user under system->users, I was able to log in but also able to navigate the directory tree.



      I saw on another post that it was the incorrect way to do this.



      If it helps, I'm trying to recreate FTP Accounts -> New User on cPanel. Like



      Thanks for the help!










      share|improve this question
















      I'm Using ProFTP on webmin, Ubuntu 14.04.



      I need to make FTP accounts for clients, who are limited to just a specified folder with no other access to the server.



      I would prefer if it was secure.



      I originally had it working by creating a new user under system->users, I was able to log in but also able to navigate the directory tree.



      I saw on another post that it was the incorrect way to do this.



      If it helps, I'm trying to recreate FTP Accounts -> New User on cPanel. Like



      Thanks for the help!







      server ftp sftp webmin






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 8 '14 at 22:59









      muru

      1




      1










      asked Aug 8 '14 at 17:54









      AnthonyAnthony

      10613




      10613





      bumped to the homepage by Community 20 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 20 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I am not sure how to configure ProFTPD from webmin, but if you can SSH to the system (or access a terminal), edit /etc/proftpd/proftpd.conf to change the DefaultRoot directive to:



          # Use this to jail all users in their homes 
          DefaultRoot ~


          Restart the ftp service:



          sudo service proftpd restart


          You can provide exceptions to certain users/groups.






          share|improve this answer























          • If I do this and try to login, I get 'connection refused' for all users.

            – Anthony
            Aug 9 '14 at 2:11











          • @Anthony is the FTP service running? Check using service proftpd status. Can you post your configuration file to paste.ubuntu.com and add a link in the question? A Connection Refused indicates that the service isn't running, and if that happened after editing the configuration, some mistake might have happened.

            – muru
            Aug 9 '14 at 2:15











          • paste.ubuntu.com/7994212 Basically what im doing is creating a system user in system->add user in webmin, with a home directory to a specific folder. Then trying to log in, works, but can navigate dir tree. Then I uncomment DefaultRoot, restart the service, and try to log in with the same user and get 'connection refused' each time.

            – Anthony
            Aug 9 '14 at 2:43











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          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: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          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%2faskubuntu.com%2fquestions%2f508710%2flimit-ftp-users-to-home-directory-on-webmin%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














          I am not sure how to configure ProFTPD from webmin, but if you can SSH to the system (or access a terminal), edit /etc/proftpd/proftpd.conf to change the DefaultRoot directive to:



          # Use this to jail all users in their homes 
          DefaultRoot ~


          Restart the ftp service:



          sudo service proftpd restart


          You can provide exceptions to certain users/groups.






          share|improve this answer























          • If I do this and try to login, I get 'connection refused' for all users.

            – Anthony
            Aug 9 '14 at 2:11











          • @Anthony is the FTP service running? Check using service proftpd status. Can you post your configuration file to paste.ubuntu.com and add a link in the question? A Connection Refused indicates that the service isn't running, and if that happened after editing the configuration, some mistake might have happened.

            – muru
            Aug 9 '14 at 2:15











          • paste.ubuntu.com/7994212 Basically what im doing is creating a system user in system->add user in webmin, with a home directory to a specific folder. Then trying to log in, works, but can navigate dir tree. Then I uncomment DefaultRoot, restart the service, and try to log in with the same user and get 'connection refused' each time.

            – Anthony
            Aug 9 '14 at 2:43















          0














          I am not sure how to configure ProFTPD from webmin, but if you can SSH to the system (or access a terminal), edit /etc/proftpd/proftpd.conf to change the DefaultRoot directive to:



          # Use this to jail all users in their homes 
          DefaultRoot ~


          Restart the ftp service:



          sudo service proftpd restart


          You can provide exceptions to certain users/groups.






          share|improve this answer























          • If I do this and try to login, I get 'connection refused' for all users.

            – Anthony
            Aug 9 '14 at 2:11











          • @Anthony is the FTP service running? Check using service proftpd status. Can you post your configuration file to paste.ubuntu.com and add a link in the question? A Connection Refused indicates that the service isn't running, and if that happened after editing the configuration, some mistake might have happened.

            – muru
            Aug 9 '14 at 2:15











          • paste.ubuntu.com/7994212 Basically what im doing is creating a system user in system->add user in webmin, with a home directory to a specific folder. Then trying to log in, works, but can navigate dir tree. Then I uncomment DefaultRoot, restart the service, and try to log in with the same user and get 'connection refused' each time.

            – Anthony
            Aug 9 '14 at 2:43













          0












          0








          0







          I am not sure how to configure ProFTPD from webmin, but if you can SSH to the system (or access a terminal), edit /etc/proftpd/proftpd.conf to change the DefaultRoot directive to:



          # Use this to jail all users in their homes 
          DefaultRoot ~


          Restart the ftp service:



          sudo service proftpd restart


          You can provide exceptions to certain users/groups.






          share|improve this answer













          I am not sure how to configure ProFTPD from webmin, but if you can SSH to the system (or access a terminal), edit /etc/proftpd/proftpd.conf to change the DefaultRoot directive to:



          # Use this to jail all users in their homes 
          DefaultRoot ~


          Restart the ftp service:



          sudo service proftpd restart


          You can provide exceptions to certain users/groups.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Aug 8 '14 at 23:05









          murumuru

          1




          1












          • If I do this and try to login, I get 'connection refused' for all users.

            – Anthony
            Aug 9 '14 at 2:11











          • @Anthony is the FTP service running? Check using service proftpd status. Can you post your configuration file to paste.ubuntu.com and add a link in the question? A Connection Refused indicates that the service isn't running, and if that happened after editing the configuration, some mistake might have happened.

            – muru
            Aug 9 '14 at 2:15











          • paste.ubuntu.com/7994212 Basically what im doing is creating a system user in system->add user in webmin, with a home directory to a specific folder. Then trying to log in, works, but can navigate dir tree. Then I uncomment DefaultRoot, restart the service, and try to log in with the same user and get 'connection refused' each time.

            – Anthony
            Aug 9 '14 at 2:43

















          • If I do this and try to login, I get 'connection refused' for all users.

            – Anthony
            Aug 9 '14 at 2:11











          • @Anthony is the FTP service running? Check using service proftpd status. Can you post your configuration file to paste.ubuntu.com and add a link in the question? A Connection Refused indicates that the service isn't running, and if that happened after editing the configuration, some mistake might have happened.

            – muru
            Aug 9 '14 at 2:15











          • paste.ubuntu.com/7994212 Basically what im doing is creating a system user in system->add user in webmin, with a home directory to a specific folder. Then trying to log in, works, but can navigate dir tree. Then I uncomment DefaultRoot, restart the service, and try to log in with the same user and get 'connection refused' each time.

            – Anthony
            Aug 9 '14 at 2:43
















          If I do this and try to login, I get 'connection refused' for all users.

          – Anthony
          Aug 9 '14 at 2:11





          If I do this and try to login, I get 'connection refused' for all users.

          – Anthony
          Aug 9 '14 at 2:11













          @Anthony is the FTP service running? Check using service proftpd status. Can you post your configuration file to paste.ubuntu.com and add a link in the question? A Connection Refused indicates that the service isn't running, and if that happened after editing the configuration, some mistake might have happened.

          – muru
          Aug 9 '14 at 2:15





          @Anthony is the FTP service running? Check using service proftpd status. Can you post your configuration file to paste.ubuntu.com and add a link in the question? A Connection Refused indicates that the service isn't running, and if that happened after editing the configuration, some mistake might have happened.

          – muru
          Aug 9 '14 at 2:15













          paste.ubuntu.com/7994212 Basically what im doing is creating a system user in system->add user in webmin, with a home directory to a specific folder. Then trying to log in, works, but can navigate dir tree. Then I uncomment DefaultRoot, restart the service, and try to log in with the same user and get 'connection refused' each time.

          – Anthony
          Aug 9 '14 at 2:43





          paste.ubuntu.com/7994212 Basically what im doing is creating a system user in system->add user in webmin, with a home directory to a specific folder. Then trying to log in, works, but can navigate dir tree. Then I uncomment DefaultRoot, restart the service, and try to log in with the same user and get 'connection refused' each time.

          – Anthony
          Aug 9 '14 at 2:43

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Ask Ubuntu!


          • 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%2faskubuntu.com%2fquestions%2f508710%2flimit-ftp-users-to-home-directory-on-webmin%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

          Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

          Are there any comparative studies done between Ashtavakra Gita and Buddhim?How is it wrong to believe that a self exists, or that it doesn't?Can you criticise or improve Ven. Bodhi's description of MahayanaWas the doctrine of 'Anatta', accepted as doctrine by modern Buddhism, actually taught by the Buddha?Relationship between Buddhism, Hinduism and Yoga?Comparison of Nirvana, Tao and Brahman/AtmaIs there a distinction between “ego identity” and “craving/hating”?Are there many differences between Taoism and Buddhism?Loss of “faith” in buddhismSimilarity between creation in Abrahamic religions and beginning of life in Earth mentioned Agganna Sutta?Are there studies about the difference between meditating in the morning versus in the evening?Can one follow Hinduism and Buddhism at the same time?Are there any prohibitions on participating in other religion's practices?Psychology of 'flow'

          Where is the suspend/hibernate button in GNOME Shell? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)No suspend option in UI on Bionic BeaverHow can I set sleep mode in ubuntu18.04 LTS and what is the short cut key to do so?17.10 suspend not availableUbuntu 18.04 LTS missing sleep optionUbuntu 18.04 LTS - missing suspend option when power button is pressedHow to put Thinkpad X1 Extreme to sleep in Ubuntu 18.10?Suspend Button in interactive power button menu18.04 - Keep programs running after logging outway to disable Hibernate from within gconf-editor so button disappears?How can I hibernate from GNOME Shell?How can I hibernate/suspend from the command line and do so at a specific timeNo permission to suspend/hibernate after upgrading to 12.10MATE - Missing Suspend and Hibernate buttons, pressing power button shutdowns system immediatelyUbuntu 14.04: Suspend, Hibernate and Suspend-hybrid in the menu?Change “power-button-action” comand for “hibernate” option in GNOME 3.18Shutdown / Power off button does always go to suspend on 17.10Hibernate after suspend stopped working in 17.10Why doesn't the keyboard screenshot button work on Ubuntu with GNOME shell?