authconfig: command not found ubuntu











up vote
0
down vote

favorite












I'm trying to use hashcat to validate a hashing algorithm but keeping this error when using authconfig command.



error: authconfig: command not found ubuntu


Am I missing something? I haven't installed ldap but the server is configured as LAMP.










share|improve this question




























    up vote
    0
    down vote

    favorite












    I'm trying to use hashcat to validate a hashing algorithm but keeping this error when using authconfig command.



    error: authconfig: command not found ubuntu


    Am I missing something? I haven't installed ldap but the server is configured as LAMP.










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm trying to use hashcat to validate a hashing algorithm but keeping this error when using authconfig command.



      error: authconfig: command not found ubuntu


      Am I missing something? I haven't installed ldap but the server is configured as LAMP.










      share|improve this question















      I'm trying to use hashcat to validate a hashing algorithm but keeping this error when using authconfig command.



      error: authconfig: command not found ubuntu


      Am I missing something? I haven't installed ldap but the server is configured as LAMP.







      14.04 16.04 hash






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 1 '16 at 12:35









      muru

      134k19282482




      134k19282482










      asked Dec 1 '16 at 12:32









      John Todd

      111




      111






















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          0
          down vote













          You need to use authconfig command to setup SHA-256/512 hashing. This command provides a simple method of configuring /etc/sysconfig/network to handle NIS, as well as /etc/passwd and /etc/shadow, the files used for shadow password support. Basic LDAP, Kerberos 5, and SMB (authentication) client configuration is also provided.
          Type the following command:



          authconfig --test | grep hashing


          Configure Linux Server To Use The SHA-512



          To configure the Linux system to use the SHA-512 algorithm, enter:



          authconfig --passalgo=sha512 --update


          Note: users need to change their passwords in order to generate hashes using SHA-512. You can force users to change their password on next login:



          change -d 0 userName





          share|improve this answer

















          • 3




            He is asking why the command is not found, not what to do with it.
            – Bart C
            Jan 20 '17 at 16:05


















          up vote
          0
          down vote













          authconfig is not packaged with Ubuntu 14.04. You can use SSSD (System Security Services Daemon (SSSD) instead. I found this useful.






          share|improve this answer




























            up vote
            0
            down vote













            apt install ldap-auth-config


            will generate a user-interactive prompt that will ask for your LDAP server name or IP and port number as well as the CN, OU and DC information.



            I can only speak to Bionic Beaver as that's what I currently work with.






            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: 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%2f855737%2fauthconfig-command-not-found-ubuntu%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              0
              down vote













              You need to use authconfig command to setup SHA-256/512 hashing. This command provides a simple method of configuring /etc/sysconfig/network to handle NIS, as well as /etc/passwd and /etc/shadow, the files used for shadow password support. Basic LDAP, Kerberos 5, and SMB (authentication) client configuration is also provided.
              Type the following command:



              authconfig --test | grep hashing


              Configure Linux Server To Use The SHA-512



              To configure the Linux system to use the SHA-512 algorithm, enter:



              authconfig --passalgo=sha512 --update


              Note: users need to change their passwords in order to generate hashes using SHA-512. You can force users to change their password on next login:



              change -d 0 userName





              share|improve this answer

















              • 3




                He is asking why the command is not found, not what to do with it.
                – Bart C
                Jan 20 '17 at 16:05















              up vote
              0
              down vote













              You need to use authconfig command to setup SHA-256/512 hashing. This command provides a simple method of configuring /etc/sysconfig/network to handle NIS, as well as /etc/passwd and /etc/shadow, the files used for shadow password support. Basic LDAP, Kerberos 5, and SMB (authentication) client configuration is also provided.
              Type the following command:



              authconfig --test | grep hashing


              Configure Linux Server To Use The SHA-512



              To configure the Linux system to use the SHA-512 algorithm, enter:



              authconfig --passalgo=sha512 --update


              Note: users need to change their passwords in order to generate hashes using SHA-512. You can force users to change their password on next login:



              change -d 0 userName





              share|improve this answer

















              • 3




                He is asking why the command is not found, not what to do with it.
                – Bart C
                Jan 20 '17 at 16:05













              up vote
              0
              down vote










              up vote
              0
              down vote









              You need to use authconfig command to setup SHA-256/512 hashing. This command provides a simple method of configuring /etc/sysconfig/network to handle NIS, as well as /etc/passwd and /etc/shadow, the files used for shadow password support. Basic LDAP, Kerberos 5, and SMB (authentication) client configuration is also provided.
              Type the following command:



              authconfig --test | grep hashing


              Configure Linux Server To Use The SHA-512



              To configure the Linux system to use the SHA-512 algorithm, enter:



              authconfig --passalgo=sha512 --update


              Note: users need to change their passwords in order to generate hashes using SHA-512. You can force users to change their password on next login:



              change -d 0 userName





              share|improve this answer












              You need to use authconfig command to setup SHA-256/512 hashing. This command provides a simple method of configuring /etc/sysconfig/network to handle NIS, as well as /etc/passwd and /etc/shadow, the files used for shadow password support. Basic LDAP, Kerberos 5, and SMB (authentication) client configuration is also provided.
              Type the following command:



              authconfig --test | grep hashing


              Configure Linux Server To Use The SHA-512



              To configure the Linux system to use the SHA-512 algorithm, enter:



              authconfig --passalgo=sha512 --update


              Note: users need to change their passwords in order to generate hashes using SHA-512. You can force users to change their password on next login:



              change -d 0 userName






              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Dec 1 '16 at 16:21









              Tarunkant Gupta

              867




              867








              • 3




                He is asking why the command is not found, not what to do with it.
                – Bart C
                Jan 20 '17 at 16:05














              • 3




                He is asking why the command is not found, not what to do with it.
                – Bart C
                Jan 20 '17 at 16:05








              3




              3




              He is asking why the command is not found, not what to do with it.
              – Bart C
              Jan 20 '17 at 16:05




              He is asking why the command is not found, not what to do with it.
              – Bart C
              Jan 20 '17 at 16:05












              up vote
              0
              down vote













              authconfig is not packaged with Ubuntu 14.04. You can use SSSD (System Security Services Daemon (SSSD) instead. I found this useful.






              share|improve this answer

























                up vote
                0
                down vote













                authconfig is not packaged with Ubuntu 14.04. You can use SSSD (System Security Services Daemon (SSSD) instead. I found this useful.






                share|improve this answer























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  authconfig is not packaged with Ubuntu 14.04. You can use SSSD (System Security Services Daemon (SSSD) instead. I found this useful.






                  share|improve this answer












                  authconfig is not packaged with Ubuntu 14.04. You can use SSSD (System Security Services Daemon (SSSD) instead. I found this useful.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jan 20 '17 at 16:12









                  Bart C

                  1113




                  1113






















                      up vote
                      0
                      down vote













                      apt install ldap-auth-config


                      will generate a user-interactive prompt that will ask for your LDAP server name or IP and port number as well as the CN, OU and DC information.



                      I can only speak to Bionic Beaver as that's what I currently work with.






                      share|improve this answer



























                        up vote
                        0
                        down vote













                        apt install ldap-auth-config


                        will generate a user-interactive prompt that will ask for your LDAP server name or IP and port number as well as the CN, OU and DC information.



                        I can only speak to Bionic Beaver as that's what I currently work with.






                        share|improve this answer

























                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          apt install ldap-auth-config


                          will generate a user-interactive prompt that will ask for your LDAP server name or IP and port number as well as the CN, OU and DC information.



                          I can only speak to Bionic Beaver as that's what I currently work with.






                          share|improve this answer














                          apt install ldap-auth-config


                          will generate a user-interactive prompt that will ask for your LDAP server name or IP and port number as well as the CN, OU and DC information.



                          I can only speak to Bionic Beaver as that's what I currently work with.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Jul 2 at 15:34









                          Stephen Rauch

                          1,1546716




                          1,1546716










                          answered Jul 2 at 13:39









                          Beth L

                          12




                          12






























                               

                              draft saved


                              draft discarded



















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f855737%2fauthconfig-command-not-found-ubuntu%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

                              Category:香港粉麵

                              List *all* the tuples!

                              Channel [V]