Unsolved VitalPBX 3
-
@DustinB3403 said in VitalPBX 3:
I'm assuming the normal command doesn't work.
asterisk -r
That is not the point.
-
I can also not connect to the running asterisk session without sudo. even though I have added the user to the "asterisk" group.
-
I've given myself access to these groups so far, no luck.
-
@JaredBusch And you want to check this just from the console? Dashboard says the version:
-
@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.
-
@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.
-
@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.
-
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
orrasterisk
without sudo, that is why it does not run.Asterisk : `asterisk -rx "core show version" 2>/dev/null| grep -ohe 'Asterisk [0-9.]*'`
-
The script could, in theory, be altered. Or it could be pulled by other means.
-
@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. -
@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?
-
@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.
-
While I hate playing with permissions in this way, what about using sticky bits (setuid or setgid) on rasterisk?
-
I would post on the VitalPBX forums, but that place is so unusable... I'm spoiled by NodeBB.
-
https://community.vitalpbx.org/forums/topic/how-to-report-bugs-and-issues/
So how do I report it @MontesVitalPBX ?? -
And new users get auto moderated.
-
@JaredBusch said in VitalPBX 3:
And new users get auto moderated.
Post still not visible. it has been almost 2.5 hours.
-
I go back to the VitalPBX community today. and my post is gone.
So why should I look into this solution more?
-
Was is a post or a rant?
-
@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.