Merge pull request #14387 from ffdixon/remove-shell-permissions

Disable login for freeswitch and meteor users
This commit is contained in:
Fred Dixon 2022-02-16 18:56:30 -04:00 committed by GitHub
commit 6a26610a5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 5 deletions

View File

@ -4,7 +4,7 @@ case "$1" in
install|upgrade|1|2)
addGroup freeswitch ""
addUser freeswitch "" freeswitch /opt/freeswitch "freeswitch" /bin/bash
addUser freeswitch "" freeswitch /opt/freeswitch "freeswitch" /usr/sbin/nologin
rm -f /tmp/external.xml
if [ -f /opt/freeswitch/etc/freeswitch/sip_profiles/external.xml ]; then

View File

@ -1,7 +1,7 @@
#!/bin/bash -e
addGroup meteor ""
addUser meteor "" meteor /usr/share/meteor "meteor user-daemon" "/bin/bash"
addUser meteor "" meteor /usr/share/meteor "meteor user-daemon" "/usr/sbin/nologin"
case "$1" in
install|upgrade|1|2)

View File

@ -3,9 +3,6 @@
case "$1" in
install|upgrade|1|2)
#addGroup bigbluebutton ""
#addUser bigbluebutton "" freeswitch /opt/freeswitch "freeswitch" /bin/bash
rm -f /tmp/bigbluebutton.properties
if [ -f /var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties ]; then
mv -f /var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties /tmp