Even after you have successfully installed dansguardian in your system, you may a get an error 'Unable to getgrnam(): Success' when you try to run dansguardian. Follow these steps to solve this problem. 1. Check whether the user 'nobody' exists. $ cat /etc/passwd see whether 'nobody' is listed. If not found add it. 2. Check whether the group ' nogroup' exits. $ cat /etc/group see whether ' nogroup' is listed. If not found add it. 3. Now open the dansguardian.conf and edit: $ sudo vi /etc/dansguardian/dansguardian.conf uncomment and change # daemongroup = 'nobody' to daemongroup = 'nogroup' If you try to run dansguardian now you may get a error message like this: Error opening/creating log file. (check ownership and access rights). I am running as nobody and I am trying to open /var/log/dansguardian//access.log 4. Now change the permissions on your log files. $ sudo chown -R nobody:nogroup /var/log/dansguardian/ replace ...
Get tips on any operations or functions done on or by the linux operating systems, debian, ubuntu, fedora etc..