Права доступа

Ниже приведены "стандартные" пути и права доступа для MikBIll и сопутствующих приложений.

mkdir /etc/mrtg
touch /etc/mrtg/mrtg_mikbill_users.conf
touch /etc/mrtg/mrtg_mikbill_tarif.conf
chmod -R a+rw /etc/mrtg
chmod -R a+rw /etc/dhcp
chmod -R a+rw /etc/dhcp/dhcpd.conf
chown apache:apache /etc/dhcp
chown apache:apache /etc/dhcp/dhcpd.conf
chown -R apache:apache /var/www/mikbill
mkdir /etc/mrtg
touch /etc/mrtg/mrtg_mikbill_users.conf
touch /etc/mrtg/mrtg_mikbill_tarif.conf
touch /etc/dhcp/dhcpd.conf
chmod -R a+rw /etc/mrtg
chmod -R a+rw /etc/dhcp
chmod -R a+rw /etc/dhcp/dhcpd.conf
chown www-data:www-data /etc/dhcp
chown www-data:www-data /etc/dhcp/dhcpd.conf
chown -R www-data:www-data /var/www/mikbill
mkdir /etc/mrtg
echo > /etc/mrtg/mrtg_mikbill_users.conf
echo > /etc/mrtg/mrtg_mikbill_tarif.conf
chmod -R a+rw /etc/mrtg
echo > /etc/dhcp/dhcpd.conf
chmod -R a+rw /etc/dhcp/dhcpd.conf
chmod -R a+rw /etc/dhcp
chown -R apache:apache /var/www/mikbill
mkdir /usr/local/etc/mrtg
echo > /usr/local/etc/mrtg/mrtg_mikbill_users.conf
echo > /usr/local/etc/mrtg/mrtg_mikbill_tarif.conf
chmod -R a+rw /usr/local/etc/mrtg
echo > /usr/local/etc/dhcpd.conf
chmod -R a+rw /usr/local/etc/dhcpd.conf
chown -R www:www /usr/local/www/mikbill
  • billing/configuration/acces_rights.txt
  • Последние изменения: 22 месяц (-ев) назад
  • — Александр Дудяк