How to ftp as root?












1















I can ftp to a linux server by doing ftp server



But I can't do that with root.



Need sftp or something or what?










share|improve this question














bumped to the homepage by Community 8 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





    Are you saying you can't FTP when you are root on the local box or you can't be the root user on the remote box?

    – Freedom_Ben
    Aug 9 '13 at 3:09











  • A safer option would be to use sftp witb a key file.

    – BillThor
    Aug 9 '13 at 18:03











  • It's unclear why the user needs to use ftp with the root user.

    – Kusalananda
    4 mins ago
















1















I can ftp to a linux server by doing ftp server



But I can't do that with root.



Need sftp or something or what?










share|improve this question














bumped to the homepage by Community 8 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





    Are you saying you can't FTP when you are root on the local box or you can't be the root user on the remote box?

    – Freedom_Ben
    Aug 9 '13 at 3:09











  • A safer option would be to use sftp witb a key file.

    – BillThor
    Aug 9 '13 at 18:03











  • It's unclear why the user needs to use ftp with the root user.

    – Kusalananda
    4 mins ago














1












1








1








I can ftp to a linux server by doing ftp server



But I can't do that with root.



Need sftp or something or what?










share|improve this question














I can ftp to a linux server by doing ftp server



But I can't do that with root.



Need sftp or something or what?







linux root ftp






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Aug 9 '13 at 2:15









user4951user4951

3,456225177




3,456225177





bumped to the homepage by Community 8 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 8 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





    Are you saying you can't FTP when you are root on the local box or you can't be the root user on the remote box?

    – Freedom_Ben
    Aug 9 '13 at 3:09











  • A safer option would be to use sftp witb a key file.

    – BillThor
    Aug 9 '13 at 18:03











  • It's unclear why the user needs to use ftp with the root user.

    – Kusalananda
    4 mins ago














  • 1





    Are you saying you can't FTP when you are root on the local box or you can't be the root user on the remote box?

    – Freedom_Ben
    Aug 9 '13 at 3:09











  • A safer option would be to use sftp witb a key file.

    – BillThor
    Aug 9 '13 at 18:03











  • It's unclear why the user needs to use ftp with the root user.

    – Kusalananda
    4 mins ago








1




1





Are you saying you can't FTP when you are root on the local box or you can't be the root user on the remote box?

– Freedom_Ben
Aug 9 '13 at 3:09





Are you saying you can't FTP when you are root on the local box or you can't be the root user on the remote box?

– Freedom_Ben
Aug 9 '13 at 3:09













A safer option would be to use sftp witb a key file.

– BillThor
Aug 9 '13 at 18:03





A safer option would be to use sftp witb a key file.

– BillThor
Aug 9 '13 at 18:03













It's unclear why the user needs to use ftp with the root user.

– Kusalananda
4 mins ago





It's unclear why the user needs to use ftp with the root user.

– Kusalananda
4 mins ago










1 Answer
1






active

oldest

votes


















1














Don't FTP as root: the FTP protocol passes user ID and password as clear text (un-encrypted). If anyone catches the FTP login sequence, and there are sniffers that do exactly that, they have your root password.



That out of the way, it could be anything. You'll have to name the FTP server software. Some won't allow a login if the user's local shell (on the machine running the FTP server) doesn't appear in /etc/shells, for example. Some FTP servers have very complicated ACL schemes about what to allow and what to disallow.






share|improve this answer























    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%2f86059%2fhow-to-ftp-as-root%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









    1














    Don't FTP as root: the FTP protocol passes user ID and password as clear text (un-encrypted). If anyone catches the FTP login sequence, and there are sniffers that do exactly that, they have your root password.



    That out of the way, it could be anything. You'll have to name the FTP server software. Some won't allow a login if the user's local shell (on the machine running the FTP server) doesn't appear in /etc/shells, for example. Some FTP servers have very complicated ACL schemes about what to allow and what to disallow.






    share|improve this answer




























      1














      Don't FTP as root: the FTP protocol passes user ID and password as clear text (un-encrypted). If anyone catches the FTP login sequence, and there are sniffers that do exactly that, they have your root password.



      That out of the way, it could be anything. You'll have to name the FTP server software. Some won't allow a login if the user's local shell (on the machine running the FTP server) doesn't appear in /etc/shells, for example. Some FTP servers have very complicated ACL schemes about what to allow and what to disallow.






      share|improve this answer


























        1












        1








        1







        Don't FTP as root: the FTP protocol passes user ID and password as clear text (un-encrypted). If anyone catches the FTP login sequence, and there are sniffers that do exactly that, they have your root password.



        That out of the way, it could be anything. You'll have to name the FTP server software. Some won't allow a login if the user's local shell (on the machine running the FTP server) doesn't appear in /etc/shells, for example. Some FTP servers have very complicated ACL schemes about what to allow and what to disallow.






        share|improve this answer













        Don't FTP as root: the FTP protocol passes user ID and password as clear text (un-encrypted). If anyone catches the FTP login sequence, and there are sniffers that do exactly that, they have your root password.



        That out of the way, it could be anything. You'll have to name the FTP server software. Some won't allow a login if the user's local shell (on the machine running the FTP server) doesn't appear in /etc/shells, for example. Some FTP servers have very complicated ACL schemes about what to allow and what to disallow.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 9 '13 at 2:19









        Bruce EdigerBruce Ediger

        35.1k566119




        35.1k566119






























            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%2f86059%2fhow-to-ftp-as-root%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

            Loup dans la culture

            How to solve the problem of ntp “Unable to contact time server” from KDE?

            Connection limited (no internet access)