Add new users to the sipwitch group
This commit is contained in:
parent
feecec510b
commit
a40b9ac6ec
|
@ -373,6 +373,11 @@ if [ -f /etc/nginx/.htpasswd ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
# add user to the sipwitch group
|
||||
if [ -f /etc/sipwitch.conf ]; then
|
||||
usermod -aG sipwitch $MY_USERNAME
|
||||
fi
|
||||
|
||||
# add user menu on ssh login
|
||||
if ! grep -q 'control' /home/$MY_USERNAME/.bashrc; then
|
||||
echo 'control' >> /home/$MY_USERNAME/.bashrc
|
||||
|
|
Loading…
Reference in New Issue