ソースを参照

Add new users to the sipwitch group

Bob Mottram 9 年 前
コミット
a40b9ac6ec
共有1 個のファイルを変更した5 個の追加0 個の削除を含む
  1. 5
    0
      src/freedombone-adduser

+ 5
- 0
src/freedombone-adduser ファイルの表示

@@ -373,6 +373,11 @@ if [ -f /etc/nginx/.htpasswd ]; then
373 373
     fi
374 374
 fi
375 375
 
376
+# add user to the sipwitch group
377
+if [ -f /etc/sipwitch.conf ]; then
378
+    usermod -aG sipwitch $MY_USERNAME
379
+fi
380
+
376 381
 # add user menu on ssh login
377 382
 if ! grep -q 'control' /home/$MY_USERNAME/.bashrc; then
378 383
     echo 'control' >> /home/$MY_USERNAME/.bashrc