소스 검색

irc config only readable by root

Bob Mottram 8 년 전
부모
커밋
0503e12b0d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      src/freedombone-app-irc

+ 1
- 0
src/freedombone-app-irc 파일 보기

@@ -570,6 +570,7 @@ function install_irc_server {
570 570
 
571 571
     IRC_ONION_HOSTNAME=$(add_onion_service irc ${IRC_BOUNCER_PORT} ${IRC_ONION_PORT})
572 572
 
573
+    chmod 600 /etc/ngircd/ngircd.conf
573 574
     systemctl restart ngircd
574 575
 
575 576
     add_watchdog_daemon ngircd