Disable login for freeswitch and meteor users
This commit is contained in:
parent
2df3382bda
commit
5b7a261148
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user