How to autologin as root to mint 17.1












0














I would like to know how to autologin as root on mint 17.1?



I've been able to login as root from the login screen (by enabling root access in login window settings and changing the theme to clouds).



But I have been unable to auto login (meaning that I don't have to enter my password).



I tried editing /etc/mdm/mdm.conf, and writing:



AutomaticLoginEnable=true
AutomaticLogin=root


but that doesn't work (works for normal accounts though).



Does anyone have clue how to do it? I'm doing this just for testing so please don't tell me its not a good idea. I know its not a good idea to be root and I am doing it for research purpose only.










share|improve this question
















bumped to the homepage by Community 7 mins ago


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















  • First you need to enable the root account. Once the account is enabled your config change should work... See also, RootSudo Documentation
    – eyoung100
    Jul 20 '15 at 1:55












  • It doesnt. Have you tried it? The problem is in mdm code...
    – 6lix
    Jul 21 '15 at 14:45






  • 1




    Consider Stopping mdm, then try this approach, then use startx
    – eyoung100
    Jul 21 '15 at 17:07










  • if you read my question i need root auto login. not manual. i can do manual no problem. have you tried your approach and does it give auto root login? meaning when you turn on your computer after everything is loaded you are root? as i said previously i can login manually as root no problem
    – 6lix
    Jul 23 '15 at 7:21








  • 1




    Why would anyone want to log into his / her system as root? Consider the inevitable security hole. Even if we knew the answer, should we share it?
    – Vlastimil
    Jan 1 '17 at 11:43
















0














I would like to know how to autologin as root on mint 17.1?



I've been able to login as root from the login screen (by enabling root access in login window settings and changing the theme to clouds).



But I have been unable to auto login (meaning that I don't have to enter my password).



I tried editing /etc/mdm/mdm.conf, and writing:



AutomaticLoginEnable=true
AutomaticLogin=root


but that doesn't work (works for normal accounts though).



Does anyone have clue how to do it? I'm doing this just for testing so please don't tell me its not a good idea. I know its not a good idea to be root and I am doing it for research purpose only.










share|improve this question
















bumped to the homepage by Community 7 mins ago


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















  • First you need to enable the root account. Once the account is enabled your config change should work... See also, RootSudo Documentation
    – eyoung100
    Jul 20 '15 at 1:55












  • It doesnt. Have you tried it? The problem is in mdm code...
    – 6lix
    Jul 21 '15 at 14:45






  • 1




    Consider Stopping mdm, then try this approach, then use startx
    – eyoung100
    Jul 21 '15 at 17:07










  • if you read my question i need root auto login. not manual. i can do manual no problem. have you tried your approach and does it give auto root login? meaning when you turn on your computer after everything is loaded you are root? as i said previously i can login manually as root no problem
    – 6lix
    Jul 23 '15 at 7:21








  • 1




    Why would anyone want to log into his / her system as root? Consider the inevitable security hole. Even if we knew the answer, should we share it?
    – Vlastimil
    Jan 1 '17 at 11:43














0












0








0







I would like to know how to autologin as root on mint 17.1?



I've been able to login as root from the login screen (by enabling root access in login window settings and changing the theme to clouds).



But I have been unable to auto login (meaning that I don't have to enter my password).



I tried editing /etc/mdm/mdm.conf, and writing:



AutomaticLoginEnable=true
AutomaticLogin=root


but that doesn't work (works for normal accounts though).



Does anyone have clue how to do it? I'm doing this just for testing so please don't tell me its not a good idea. I know its not a good idea to be root and I am doing it for research purpose only.










share|improve this question















I would like to know how to autologin as root on mint 17.1?



I've been able to login as root from the login screen (by enabling root access in login window settings and changing the theme to clouds).



But I have been unable to auto login (meaning that I don't have to enter my password).



I tried editing /etc/mdm/mdm.conf, and writing:



AutomaticLoginEnable=true
AutomaticLogin=root


but that doesn't work (works for normal accounts though).



Does anyone have clue how to do it? I'm doing this just for testing so please don't tell me its not a good idea. I know its not a good idea to be root and I am doing it for research purpose only.







linux-mint root autologin mdm






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 23 '15 at 2:46









slm

247k66513678




247k66513678










asked Jan 23 '15 at 2:26









6lix

913




913





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


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














  • First you need to enable the root account. Once the account is enabled your config change should work... See also, RootSudo Documentation
    – eyoung100
    Jul 20 '15 at 1:55












  • It doesnt. Have you tried it? The problem is in mdm code...
    – 6lix
    Jul 21 '15 at 14:45






  • 1




    Consider Stopping mdm, then try this approach, then use startx
    – eyoung100
    Jul 21 '15 at 17:07










  • if you read my question i need root auto login. not manual. i can do manual no problem. have you tried your approach and does it give auto root login? meaning when you turn on your computer after everything is loaded you are root? as i said previously i can login manually as root no problem
    – 6lix
    Jul 23 '15 at 7:21








  • 1




    Why would anyone want to log into his / her system as root? Consider the inevitable security hole. Even if we knew the answer, should we share it?
    – Vlastimil
    Jan 1 '17 at 11:43


















  • First you need to enable the root account. Once the account is enabled your config change should work... See also, RootSudo Documentation
    – eyoung100
    Jul 20 '15 at 1:55












  • It doesnt. Have you tried it? The problem is in mdm code...
    – 6lix
    Jul 21 '15 at 14:45






  • 1




    Consider Stopping mdm, then try this approach, then use startx
    – eyoung100
    Jul 21 '15 at 17:07










  • if you read my question i need root auto login. not manual. i can do manual no problem. have you tried your approach and does it give auto root login? meaning when you turn on your computer after everything is loaded you are root? as i said previously i can login manually as root no problem
    – 6lix
    Jul 23 '15 at 7:21








  • 1




    Why would anyone want to log into his / her system as root? Consider the inevitable security hole. Even if we knew the answer, should we share it?
    – Vlastimil
    Jan 1 '17 at 11:43
















First you need to enable the root account. Once the account is enabled your config change should work... See also, RootSudo Documentation
– eyoung100
Jul 20 '15 at 1:55






First you need to enable the root account. Once the account is enabled your config change should work... See also, RootSudo Documentation
– eyoung100
Jul 20 '15 at 1:55














It doesnt. Have you tried it? The problem is in mdm code...
– 6lix
Jul 21 '15 at 14:45




It doesnt. Have you tried it? The problem is in mdm code...
– 6lix
Jul 21 '15 at 14:45




1




1




Consider Stopping mdm, then try this approach, then use startx
– eyoung100
Jul 21 '15 at 17:07




Consider Stopping mdm, then try this approach, then use startx
– eyoung100
Jul 21 '15 at 17:07












if you read my question i need root auto login. not manual. i can do manual no problem. have you tried your approach and does it give auto root login? meaning when you turn on your computer after everything is loaded you are root? as i said previously i can login manually as root no problem
– 6lix
Jul 23 '15 at 7:21






if you read my question i need root auto login. not manual. i can do manual no problem. have you tried your approach and does it give auto root login? meaning when you turn on your computer after everything is loaded you are root? as i said previously i can login manually as root no problem
– 6lix
Jul 23 '15 at 7:21






1




1




Why would anyone want to log into his / her system as root? Consider the inevitable security hole. Even if we knew the answer, should we share it?
– Vlastimil
Jan 1 '17 at 11:43




Why would anyone want to log into his / her system as root? Consider the inevitable security hole. Even if we knew the answer, should we share it?
– Vlastimil
Jan 1 '17 at 11:43










2 Answers
2






active

oldest

votes


















0














In System Settings click Login Window. Click tab for Options click Allow Root Login






share|improve this answer





















  • that only allows root login. What I wanted to do is to auto login with root (so i dont have to enter username password)
    – 6lix
    Mar 9 '15 at 20:14



















0














The only working solution I found is to rid of mdm. There are other display managers like nodm, gdm, lightdm that you can install and configure them to autologin as root. There is also a issue about it on GitHub which seems to be closed.






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%2f180565%2fhow-to-autologin-as-root-to-mint-17-1%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    In System Settings click Login Window. Click tab for Options click Allow Root Login






    share|improve this answer





















    • that only allows root login. What I wanted to do is to auto login with root (so i dont have to enter username password)
      – 6lix
      Mar 9 '15 at 20:14
















    0














    In System Settings click Login Window. Click tab for Options click Allow Root Login






    share|improve this answer





















    • that only allows root login. What I wanted to do is to auto login with root (so i dont have to enter username password)
      – 6lix
      Mar 9 '15 at 20:14














    0












    0








    0






    In System Settings click Login Window. Click tab for Options click Allow Root Login






    share|improve this answer












    In System Settings click Login Window. Click tab for Options click Allow Root Login







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Mar 8 '15 at 16:05









    BobH

    1




    1












    • that only allows root login. What I wanted to do is to auto login with root (so i dont have to enter username password)
      – 6lix
      Mar 9 '15 at 20:14


















    • that only allows root login. What I wanted to do is to auto login with root (so i dont have to enter username password)
      – 6lix
      Mar 9 '15 at 20:14
















    that only allows root login. What I wanted to do is to auto login with root (so i dont have to enter username password)
    – 6lix
    Mar 9 '15 at 20:14




    that only allows root login. What I wanted to do is to auto login with root (so i dont have to enter username password)
    – 6lix
    Mar 9 '15 at 20:14













    0














    The only working solution I found is to rid of mdm. There are other display managers like nodm, gdm, lightdm that you can install and configure them to autologin as root. There is also a issue about it on GitHub which seems to be closed.






    share|improve this answer


























      0














      The only working solution I found is to rid of mdm. There are other display managers like nodm, gdm, lightdm that you can install and configure them to autologin as root. There is also a issue about it on GitHub which seems to be closed.






      share|improve this answer
























        0












        0








        0






        The only working solution I found is to rid of mdm. There are other display managers like nodm, gdm, lightdm that you can install and configure them to autologin as root. There is also a issue about it on GitHub which seems to be closed.






        share|improve this answer












        The only working solution I found is to rid of mdm. There are other display managers like nodm, gdm, lightdm that you can install and configure them to autologin as root. There is also a issue about it on GitHub which seems to be closed.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 19 '15 at 14:19









        VarunAgw

        312212




        312212






























            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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%2f180565%2fhow-to-autologin-as-root-to-mint-17-1%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

            宮崎県

            濃尾地震

            シテ島