How to Configure nsswitch.conf in ubuntu 18.04 (upgrading from 16.04)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I am upgrading my client system from ubuntu 16.04 to ubuntu 18.04




/etc/nsswitch.conf



passwd: compat files nis nisplus



group: compat files nis nisplus



shadow: compat files nis nisplus



gshadow: files



hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname



networks: files



protocols: db files



services: db files



ethers: db files



rpc: db files



netgroup: nis




In ubuntu 18.04




/etc/nsswitch.conf



passwd: compat files nis nisplus systemd



group: compat files nis nisplus systemd



shadow: compat files nis nisplus



gshadow: files



hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname



networks: files



protocols: db files



services: db files



ethers: db files



rpc: db files



netgroup: nis




But now I am unable to connect to server.



I am getting the message:



A start job is running for Hold until boot process finishes up.



Kindly help.







share|improve this question


























    up vote
    0
    down vote

    favorite












    I am upgrading my client system from ubuntu 16.04 to ubuntu 18.04




    /etc/nsswitch.conf



    passwd: compat files nis nisplus



    group: compat files nis nisplus



    shadow: compat files nis nisplus



    gshadow: files



    hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname



    networks: files



    protocols: db files



    services: db files



    ethers: db files



    rpc: db files



    netgroup: nis




    In ubuntu 18.04




    /etc/nsswitch.conf



    passwd: compat files nis nisplus systemd



    group: compat files nis nisplus systemd



    shadow: compat files nis nisplus



    gshadow: files



    hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname



    networks: files



    protocols: db files



    services: db files



    ethers: db files



    rpc: db files



    netgroup: nis




    But now I am unable to connect to server.



    I am getting the message:



    A start job is running for Hold until boot process finishes up.



    Kindly help.







    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am upgrading my client system from ubuntu 16.04 to ubuntu 18.04




      /etc/nsswitch.conf



      passwd: compat files nis nisplus



      group: compat files nis nisplus



      shadow: compat files nis nisplus



      gshadow: files



      hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname



      networks: files



      protocols: db files



      services: db files



      ethers: db files



      rpc: db files



      netgroup: nis




      In ubuntu 18.04




      /etc/nsswitch.conf



      passwd: compat files nis nisplus systemd



      group: compat files nis nisplus systemd



      shadow: compat files nis nisplus



      gshadow: files



      hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname



      networks: files



      protocols: db files



      services: db files



      ethers: db files



      rpc: db files



      netgroup: nis




      But now I am unable to connect to server.



      I am getting the message:



      A start job is running for Hold until boot process finishes up.



      Kindly help.







      share|improve this question














      I am upgrading my client system from ubuntu 16.04 to ubuntu 18.04




      /etc/nsswitch.conf



      passwd: compat files nis nisplus



      group: compat files nis nisplus



      shadow: compat files nis nisplus



      gshadow: files



      hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname



      networks: files



      protocols: db files



      services: db files



      ethers: db files



      rpc: db files



      netgroup: nis




      In ubuntu 18.04




      /etc/nsswitch.conf



      passwd: compat files nis nisplus systemd



      group: compat files nis nisplus systemd



      shadow: compat files nis nisplus



      gshadow: files



      hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname



      networks: files



      protocols: db files



      services: db files



      ethers: db files



      rpc: db files



      netgroup: nis




      But now I am unable to connect to server.



      I am getting the message:



      A start job is running for Hold until boot process finishes up.



      Kindly help.









      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 28 at 8:53

























      asked Apr 28 at 7:08









      Purushothaman

      56111




      56111




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          In my case I run nis ( dont have nisplus) and I check local accounts first then nis.
          I found that compat will do the necessary with nis checking for me( perhaps nisplus as well)ie checks the + entries in /etc/passwd and check local passwd with + and override home directories shells etc.
          If use it in this way, I can log in from command line with both a local and nis account ( with both a local and nfs home). For some reason there is a delay of 25 seconds approximately until the shell prompt is returned. On X it times out and locks screen. So I still have difficulties, but this might point you a bit further down the road or maybe it will work for you. Id be interested if you could post if you get it working fully.



          /etc/nsswitch.conf
          passwd: files compat systemd



          group: files compat systemd



          shadow: files compat
          gshadow: files



          hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname



          networks: files



          protocols: db files



          services: db files



          ethers: db files



          rpc: db files



          netgroup: nis






          share|improve this answer




















            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',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            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%2f1029095%2fhow-to-configure-nsswitch-conf-in-ubuntu-18-04-upgrading-from-16-04%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            In my case I run nis ( dont have nisplus) and I check local accounts first then nis.
            I found that compat will do the necessary with nis checking for me( perhaps nisplus as well)ie checks the + entries in /etc/passwd and check local passwd with + and override home directories shells etc.
            If use it in this way, I can log in from command line with both a local and nis account ( with both a local and nfs home). For some reason there is a delay of 25 seconds approximately until the shell prompt is returned. On X it times out and locks screen. So I still have difficulties, but this might point you a bit further down the road or maybe it will work for you. Id be interested if you could post if you get it working fully.



            /etc/nsswitch.conf
            passwd: files compat systemd



            group: files compat systemd



            shadow: files compat
            gshadow: files



            hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname



            networks: files



            protocols: db files



            services: db files



            ethers: db files



            rpc: db files



            netgroup: nis






            share|improve this answer
























              up vote
              0
              down vote













              In my case I run nis ( dont have nisplus) and I check local accounts first then nis.
              I found that compat will do the necessary with nis checking for me( perhaps nisplus as well)ie checks the + entries in /etc/passwd and check local passwd with + and override home directories shells etc.
              If use it in this way, I can log in from command line with both a local and nis account ( with both a local and nfs home). For some reason there is a delay of 25 seconds approximately until the shell prompt is returned. On X it times out and locks screen. So I still have difficulties, but this might point you a bit further down the road or maybe it will work for you. Id be interested if you could post if you get it working fully.



              /etc/nsswitch.conf
              passwd: files compat systemd



              group: files compat systemd



              shadow: files compat
              gshadow: files



              hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname



              networks: files



              protocols: db files



              services: db files



              ethers: db files



              rpc: db files



              netgroup: nis






              share|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                In my case I run nis ( dont have nisplus) and I check local accounts first then nis.
                I found that compat will do the necessary with nis checking for me( perhaps nisplus as well)ie checks the + entries in /etc/passwd and check local passwd with + and override home directories shells etc.
                If use it in this way, I can log in from command line with both a local and nis account ( with both a local and nfs home). For some reason there is a delay of 25 seconds approximately until the shell prompt is returned. On X it times out and locks screen. So I still have difficulties, but this might point you a bit further down the road or maybe it will work for you. Id be interested if you could post if you get it working fully.



                /etc/nsswitch.conf
                passwd: files compat systemd



                group: files compat systemd



                shadow: files compat
                gshadow: files



                hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname



                networks: files



                protocols: db files



                services: db files



                ethers: db files



                rpc: db files



                netgroup: nis






                share|improve this answer












                In my case I run nis ( dont have nisplus) and I check local accounts first then nis.
                I found that compat will do the necessary with nis checking for me( perhaps nisplus as well)ie checks the + entries in /etc/passwd and check local passwd with + and override home directories shells etc.
                If use it in this way, I can log in from command line with both a local and nis account ( with both a local and nfs home). For some reason there is a delay of 25 seconds approximately until the shell prompt is returned. On X it times out and locks screen. So I still have difficulties, but this might point you a bit further down the road or maybe it will work for you. Id be interested if you could post if you get it working fully.



                /etc/nsswitch.conf
                passwd: files compat systemd



                group: files compat systemd



                shadow: files compat
                gshadow: files



                hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname



                networks: files



                protocols: db files



                services: db files



                ethers: db files



                rpc: db files



                netgroup: nis







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 4 at 11:05









                Mart Mart

                63




                63



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1029095%2fhow-to-configure-nsswitch-conf-in-ubuntu-18-04-upgrading-from-16-04%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    pylint3 and pip3 broken

                    Missing snmpget and snmpwalk

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491