Hybrid 7 IRC server: How can I set a server password?












0















I'm running a small IRC server on Ubuntu 12.10 using ircd-hybrid and i'm having a few issues setting a password for the server (setting a channel password works fine), I have tried setting the "password" in the user auth{} section in the ircd.conf configuration file, but when ircd-hybrid is restarted I can't access the server at all (I get the error message "you are not authorised to use this server", i'm using the password that gets generated by mkpasswd (not running it as root, either - tried using -m md5 option as well without luck) and I don't know what the issue is (I can connect just fine when the line is commented out). I've attached some snippets from our ircd.conf file which should help.



auth {
user = "*";
class = "users";

/* restricted: stop the client sending mode changes */
#restricted = yes

/* Password to join server */
password = "(our pass here)";

/* Spoof users host */;
spoof = "client.net";

/* have ident: require the user has identd to connect (OLD I: + flag) */
have_ident = no;
};









share|improve this question





























    0















    I'm running a small IRC server on Ubuntu 12.10 using ircd-hybrid and i'm having a few issues setting a password for the server (setting a channel password works fine), I have tried setting the "password" in the user auth{} section in the ircd.conf configuration file, but when ircd-hybrid is restarted I can't access the server at all (I get the error message "you are not authorised to use this server", i'm using the password that gets generated by mkpasswd (not running it as root, either - tried using -m md5 option as well without luck) and I don't know what the issue is (I can connect just fine when the line is commented out). I've attached some snippets from our ircd.conf file which should help.



    auth {
    user = "*";
    class = "users";

    /* restricted: stop the client sending mode changes */
    #restricted = yes

    /* Password to join server */
    password = "(our pass here)";

    /* Spoof users host */;
    spoof = "client.net";

    /* have ident: require the user has identd to connect (OLD I: + flag) */
    have_ident = no;
    };









    share|improve this question



























      0












      0








      0








      I'm running a small IRC server on Ubuntu 12.10 using ircd-hybrid and i'm having a few issues setting a password for the server (setting a channel password works fine), I have tried setting the "password" in the user auth{} section in the ircd.conf configuration file, but when ircd-hybrid is restarted I can't access the server at all (I get the error message "you are not authorised to use this server", i'm using the password that gets generated by mkpasswd (not running it as root, either - tried using -m md5 option as well without luck) and I don't know what the issue is (I can connect just fine when the line is commented out). I've attached some snippets from our ircd.conf file which should help.



      auth {
      user = "*";
      class = "users";

      /* restricted: stop the client sending mode changes */
      #restricted = yes

      /* Password to join server */
      password = "(our pass here)";

      /* Spoof users host */;
      spoof = "client.net";

      /* have ident: require the user has identd to connect (OLD I: + flag) */
      have_ident = no;
      };









      share|improve this question
















      I'm running a small IRC server on Ubuntu 12.10 using ircd-hybrid and i'm having a few issues setting a password for the server (setting a channel password works fine), I have tried setting the "password" in the user auth{} section in the ircd.conf configuration file, but when ircd-hybrid is restarted I can't access the server at all (I get the error message "you are not authorised to use this server", i'm using the password that gets generated by mkpasswd (not running it as root, either - tried using -m md5 option as well without luck) and I don't know what the issue is (I can connect just fine when the line is commented out). I've attached some snippets from our ircd.conf file which should help.



      auth {
      user = "*";
      class = "users";

      /* restricted: stop the client sending mode changes */
      #restricted = yes

      /* Password to join server */
      password = "(our pass here)";

      /* Spoof users host */;
      spoof = "client.net";

      /* have ident: require the user has identd to connect (OLD I: + flag) */
      have_ident = no;
      };






      configuration irc ircd-hybrid






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 5 '13 at 21:15









      guntbert

      9,431133170




      9,431133170










      asked Apr 5 '13 at 18:55









      RyanRyan

      10113




      10113






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Apparently mkpasswd generates a different hash each time it runs, rather confusing. Eventually figured it out



          # mkpasswd -m md5 password
          $1$lilSP/V0$bAHlfX24N2lcUS8BW/JDD.


          ...spaces in the name seem to be bad



          Then in the config make sure you have



          encrypted = yes;





          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',
            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%2f278305%2fhybrid-7-irc-server-how-can-i-set-a-server-password%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














            Apparently mkpasswd generates a different hash each time it runs, rather confusing. Eventually figured it out



            # mkpasswd -m md5 password
            $1$lilSP/V0$bAHlfX24N2lcUS8BW/JDD.


            ...spaces in the name seem to be bad



            Then in the config make sure you have



            encrypted = yes;





            share|improve this answer




























              0














              Apparently mkpasswd generates a different hash each time it runs, rather confusing. Eventually figured it out



              # mkpasswd -m md5 password
              $1$lilSP/V0$bAHlfX24N2lcUS8BW/JDD.


              ...spaces in the name seem to be bad



              Then in the config make sure you have



              encrypted = yes;





              share|improve this answer


























                0












                0








                0







                Apparently mkpasswd generates a different hash each time it runs, rather confusing. Eventually figured it out



                # mkpasswd -m md5 password
                $1$lilSP/V0$bAHlfX24N2lcUS8BW/JDD.


                ...spaces in the name seem to be bad



                Then in the config make sure you have



                encrypted = yes;





                share|improve this answer













                Apparently mkpasswd generates a different hash each time it runs, rather confusing. Eventually figured it out



                # mkpasswd -m md5 password
                $1$lilSP/V0$bAHlfX24N2lcUS8BW/JDD.


                ...spaces in the name seem to be bad



                Then in the config make sure you have



                encrypted = yes;






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Oct 18 '13 at 8:32









                user203185user203185

                1




                1






























                    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%2f278305%2fhybrid-7-irc-server-how-can-i-set-a-server-password%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

                    How did Captain America manage to do this?

                    迪纳利

                    南乌拉尔铁路局