Comment 3 for bug 637656

Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

I just tested nanny in Ubuntu 11.04 and configured web browser restrictions in "Nanny Admin Console". It seems these restrictions are activated straight away after I clicked Apply button:
ubuntu@ubuntu:~$ sudo iptables -L Nanny
Chain Nanny (1 references)
target prot opt source destination
DROP tcp -- anywhere anywhere multiport dports www,https,http-alt owner UID match ubuntu state NEW,RELATED,ESTABLISHED TIME from 01:00:00 to 12:30:00 on Mon

I'm running from LiveUSB, so I can't test how nanny works after restarting, maybe someone can test and write a comment here?

Btw, I think space symbol between ! and /bin/sh in /etc/init.d/nanny file doesn't cause any problems, because most files in /etc/init.d/ have space in first line, for example /etc/init.d/bootlogd /etc/init.d/reboot /etc/init.d/bluetooth /etc/init.d/saned /etc/init.d/rsync

jmb0007 (baudetjm) wrote on 2010-09-14:
> I have Gnome Nanny is started at boot
> I have just change
> #! /bin/sh to #!/bin/sh in /etc/init.d/nanny