Disable login for freeswitch and meteor users

This commit is contained in:
Fred Dixon 2022-02-16 16:50:58 -06:00
parent 2df3382bda
commit 5b7a261148
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