nanny does not prevent user loging

Bug #706269 reported by James Dupin
44
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Baltix
New
Undecided
Unassigned
nanny (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: nanny

ubuntu 10.10
logged in as an admin user (able to use sudo), I installed nanny and used the nanny console to restrict user joe to log in on a saturday (all red on saturday). Then I clicked "apply".

Then I switch users to test if it works, and it doesn't. User joe can log in and use the computer on a saturday.

From what I read on the net, that makes a long time that it is like this but maybe no one ever logged a bug report concerning this huge problem.

Revision history for this message
James Dupin (james.dupin) wrote :

tried it on a virtual machine as well, also ubuntu 10.10 with the same result. the user can log in while he shouldn't.

Revision history for this message
James Dupin (james.dupin) wrote :

testing nanny in edubuntu, doesn't seem to be working. AS Admin user I red out all saturday for a test user (click apply...) then I log out and log in with the test user. no problem it lets me in and tells me I will be granted access in 5 hours, but I am already in.
edubuntu 10.10.
same thing occurs when if using a thin client.

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

New stable version of Nanny was released at 2011 January, maybe new version would fix this bug?

Here is full changelog: http://git.gnome.org/browse/nanny/log/

I'm pasting few lines from NEWS file:

Version 2.31.1:

Features
-----------------------------------
* Win32 support for nanny (windows xp and 7)
* New blacklist system
* Remove nanny blacklist manager
* Integration of the blacklist manager in nanny admin console

Translations
------------
- cs, courtesy of Marek Černocký
- de, courtesy of Mario Blättermann
- es, courtesy of Daniel Mustieles
- es, courtesy of Roberto Majadas
- fr, courtesy of Alain Lojewski
- fr, courtesy of Claude Paroz
- gl, courtesy of Fran Diéguez
- he, courtesy of Yaron Shahrabani
- hu, courtesy of Gabor Kelemen
- pl, courtesy of Piotr Drąg
- ro, courtesy of Lucian Adrian Grijincu
- sl, courtesy of Andrej Žnidaršič
- sl, courtesy of Matej Urbančič
- zh_CN, courtesy of Yinghua Wang

Version 2.30.0 :

First stable version :)

UI translations:
--------------------------
Andrej Žnidaršič (sl)
Bruno Brouard (fr)
Djavan Fagundes (pt_BR)
Fran Diéguez (gl)
Mario Blättermann (de)
Petr Kovar (cs)
Yannis Kaskamanidis (el)
Yinghua Wang (zh_CN)

Doc translations:
--------------------------
Yannis Kaskamanidis (el)

Revision history for this message
kimus (kimus) wrote :

The propose of this package is to control users from using the computer and web filtering. So, it should be very useful for parents (like me). What I found out is that it simply doesn't work!

Doesn't prevent user from login, tough a notify popup 'informs' the user that the session will be open in X hours.
No default blacklist imported, so we must search for one to be able to test if the second feature works this time...

Revision history for this message
Steve Schmechel (steveschmechel) wrote :

The session control feature worked on my kid's computer when I installed it in version 10.04.

I upgraded Ubuntu to version 11.04 and now the session control no longer works.

It does still prevent them from browsing the web outside of the designated times which I set up to match the allowed login time, but it will not log them out when their time period is up or maximum allowed time has been exceeded.

Tried reinstalling it after the upgrade also, but that had no effect.

Revision history for this message
Jonathon Ladmore (jono-crayons) wrote :

Steve, can you try typing "xhost +" in a terminal window. I have had a similar problem and it looks like it is an Xauthentication issue.

Revision history for this message
cameleon (el-cameleon-1) wrote :

It also doesn't work on Ubuntu 11.04. Maybe this is related to this upstream report: https://bugzilla.gnome.org/show_bug.cgi?id=644323

Revision history for this message
Mike (michael-hagmann-gmail) wrote :

Also happen to me, on Ubuntu 10.X works whiteout any Problem, after upgrade to 11.04 I can configure it once. systray started but time will not enforced. Also after a reboot nanny lost the userinformation ( mean in the nanny admin console only one user is seen ! )

any hint ?

where is the config stored ?

thanks for help.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nanny (Ubuntu):
status: New → Confirmed
Revision history for this message
Chen-Li Tien (cltien-z) wrote :

It worked in 10.10 before but doesn't work after upgrade to 11.x.

I fount that it seems to assume the time in the parent control is UTC (GMT) instead of your local time zone. For example, My time zone is UTC-4, to limit internet access for 16:00, I need to use the UTC in the same time, which is 20:00.

This should be a simple fix, any idea how long can it be fixed? I wonder if nanny is still in maintain?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.