File Permissions and and Log Warnings
-
Hi Guys
Getting the following warnings in my OpenVPN log and just want to check what the permission of these files should be for proper security and functionality. Also do the files have correct owner and group assigned to them, I noticed some are root wheel and others are nobody nobody.
Here is the Log Warning…
openvpn[33022]: WARNING: file '/var/etc/openvpn_server0.key' is group or others accessible
openvpn[33022]: WARNING: file '/var/etc/ta.key' is group or others accessibleHere are the file permissions…
drwxr-xr-x 4 root wheel 512 Apr 16 19:29 .
drwxr-xr-x 25 root wheel 512 Apr 4 20:22 ..
-rw------- 1 root wheel 2019 Apr 14 20:27 cert.pem
-rw-r--r-- 1 root wheel 157 Apr 16 19:23 hosts
-rw-r--r-- 1 root wheel 0 Apr 16 19:29 inetd.conf
-rw-r--r-- 1 root wheel 5632 Apr 14 20:27 lighty-webConfigurator.conf
drwxr-xr-x 2 root wheel 512 Apr 10 01:20 mpd-vpn
-rw-r--r-- 1 root wheel 520 Apr 16 19:23 mpd.conf
-rw-r--r-- 1 root wheel 139 Apr 16 19:23 mpd.links
-rw-r--r-- 1 root wheel 71 Apr 14 20:28 ntpd.conf
drwxr-xr-x 2 nobody nobody 512 Apr 14 20:27 openvpn_csc
-rw-r--r-- 1 nobody nobody 1602 Apr 16 19:29 openvpn_server0.ca
-rw-r--r-- 1 nobody nobody 1742 Apr 16 19:29 openvpn_server0.cert
-rw-r--r-- 1 root wheel 1363 Apr 16 19:29 openvpn_server0.conf
-rw-r--r-- 1 nobody nobody 430 Apr 16 19:29 openvpn_server0.dh
-rw-r--r-- 1 nobody nobody 1700 Apr 16 19:29 openvpn_server0.key
-rw-r--r-- 1 root wheel 76 Apr 14 20:27 resolv.conf
-rw------- 1 root wheel 0 Apr 4 20:10 sasyncd.conf
-rw-r--r-- 1 root wheel 0 Apr 14 20:27 slbd.conf
-rw-r--r-- 1 root wheel 895 Apr 14 20:28 snmpd.conf
-rw-r--r-- 1 root wheel 649 Apr 14 20:27 syslog.conf
-rw-r--r-- 1 nobody nobody 636 Apr 10 00:10 ta.keyThanks for your help