ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    VitalPBX 3

    Scheduled Pinned Locked Moved Unsolved IT Discussion
    vitalpbxssh
    48 Posts 9 Posters 3.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JaredBuschJ
      JaredBusch
      last edited by

      I've given myself access to these groups so far, no luck.

      94db7fb8-88e3-4e05-aa50-2b60063dfa88-image.png

      RomoR 1 Reply Last reply Reply Quote 0
      • RomoR
        Romo @JaredBusch
        last edited by

        @JaredBusch And you want to check this just from the console? Dashboard says the version:

        54f86cf5-277d-4611-9d3a-57eec2b5fef1-image.png

        JaredBuschJ 1 Reply Last reply Reply Quote 0
        • JaredBuschJ
          JaredBusch @Romo
          last edited by JaredBusch

          @Romo said in VitalPBX 3:

          @JaredBusch And you want to check this just from the console? Dashboard says the version:

          Again, not the point.

          There are many ways to see the same thing in almost every system.

          1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403 @JaredBusch
            last edited by

            @JaredBusch said in VitalPBX 3:

            @DustinB3403 said in VitalPBX 3:

            I'm assuming the normal command doesn't work.

            asterisk -r

            That is not the point.

            I thought the point was you wanted to find out what version of asterisk was installed. My bad.

            scottalanmillerS 1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @DustinB3403
              last edited by

              @DustinB3403 said in VitalPBX 3:

              @JaredBusch said in VitalPBX 3:

              @DustinB3403 said in VitalPBX 3:

              I'm assuming the normal command doesn't work.

              asterisk -r

              That is not the point.

              I thought the point was you wanted to find out what version of asterisk was installed. My bad.

              No, he wants a non-root user to see it on login. Which clearly is the point of the MOTD, it's just not working correctly.

              1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch
                last edited by JaredBusch

                The install script puts the welcome banner here.

                #Install SSH Welcome Banner
                rm -rf /etc/profile.d/vitalwelcome.sh
                wget -P /etc/profile.d/ https://raw.githubusercontent.com/VitalPBX/VPS/vitalpbx-3/resources/vitalwelcome.sh
                chmod 644 /etc/profile.d/vitalwelcome.sh
                

                Looking at the script, it is running asterisk -rx

                So because my user cannot execute asterisk or rasterisk without sudo, that is why it does not run.

                Asterisk	: `asterisk -rx "core show version" 2>/dev/null| grep -ohe 'Asterisk [0-9.]*'`
                
                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller
                  last edited by

                  The script could, in theory, be altered. Or it could be pulled by other means.

                  JaredBuschJ 1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch @scottalanmiller
                    last edited by JaredBusch

                    @scottalanmiller said in VitalPBX 3:

                    The script could, in theory, be altered. Or it could be pulled by other means.

                    My user needs to be able to run rasterisk I hate having to use sudo for basic commands that I use all the time.

                    DustinB3403D 1 Reply Last reply Reply Quote 0
                    • DustinB3403D
                      DustinB3403 @JaredBusch
                      last edited by

                      @JaredBusch said in VitalPBX 3:

                      @scottalanmiller said in VitalPBX 3:

                      The script could, in theory, be altered. Or it could be pulled by other means.

                      My user needs to be able to run rasterisk I hate having to use sudo for basic commands that I use all the time.

                      Can you get around this by using a sudoers file?

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @DustinB3403
                        last edited by

                        @DustinB3403 said in VitalPBX 3:

                        @JaredBusch said in VitalPBX 3:

                        @scottalanmiller said in VitalPBX 3:

                        The script could, in theory, be altered. Or it could be pulled by other means.

                        My user needs to be able to run rasterisk I hate having to use sudo for basic commands that I use all the time.

                        Can you get around this by using a sudoers file?

                        No, sudoers will never make it so that you don't have to "sudo" to activate it.

                        1 Reply Last reply Reply Quote 0
                        • M
                          manxam
                          last edited by

                          While I hate playing with permissions in this way, what about using sticky bits (setuid or setgid) on rasterisk?

                          1 Reply Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch
                            last edited by JaredBusch

                            I would post on the VitalPBX forums, but that place is so unusable... I'm spoiled by NodeBB.

                            1 Reply Last reply Reply Quote 1
                            • JaredBuschJ
                              JaredBusch
                              last edited by JaredBusch

                              https://community.vitalpbx.org/forums/topic/how-to-report-bugs-and-issues/
                              So how do I report it @MontesVitalPBX ??

                              a3ae5b4a-ac7f-44aa-a071-1a16a2279d4c-image.png

                              M 1 Reply Last reply Reply Quote 0
                              • JaredBuschJ
                                JaredBusch
                                last edited by

                                And new users get auto moderated.
                                7ea0933c-1b2e-4087-97d5-1e3a5df095a6-image.png

                                JaredBuschJ 1 Reply Last reply Reply Quote 0
                                • JaredBuschJ
                                  JaredBusch @JaredBusch
                                  last edited by

                                  @JaredBusch said in VitalPBX 3:

                                  And new users get auto moderated.

                                  Post still not visible. it has been almost 2.5 hours.
                                  c00cddb2-efe1-42fb-9f7f-98e4566ee7fa-image.png

                                  1 Reply Last reply Reply Quote 0
                                  • JaredBuschJ
                                    JaredBusch
                                    last edited by

                                    I go back to the VitalPBX community today. and my post is gone.

                                    So why should I look into this solution more?

                                    8f5c1c89-e7b7-4ae6-9f0a-ba92f9e56695-image.png

                                    1 Reply Last reply Reply Quote 0
                                    • DustinB3403D
                                      DustinB3403
                                      last edited by

                                      Was is a post or a rant?

                                      1 Reply Last reply Reply Quote 0
                                      • DustinB3403D
                                        DustinB3403
                                        last edited by DustinB3403

                                        @JaredBusch I just did a search for you under the "community users" and I couldn't find your account.

                                        To me it seem they don't want you there.

                                        chrome_s5KK7yE62x.png

                                        B 1 Reply Last reply Reply Quote 0
                                        • B
                                          bnrstnr @DustinB3403
                                          last edited by

                                          @DustinB3403 564fc8cd-180c-4ed8-970b-82c2f48ac834-image.png

                                          1 Reply Last reply Reply Quote 0
                                          • DustinB3403D
                                            DustinB3403
                                            last edited by

                                            Interesting it can't search by username then. . .

                                            Well whatever

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 3 / 3
                                            • First post
                                              Last post