Guest account is created/destroyed each time it is selected/deselected on the list

Bug #816152 reported by Jean-Baptiste Lallement
262
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-greeter (Ubuntu)
Fix Released
High
Canonical Desktop Team
Oneiric
Fix Released
High
Canonical Desktop Team

Bug Description

The Guest Account and its associated chroot (/tmp/guest-home-XXXXX) is created/destroyed each time it is selected/deselected on the list instead of being created on login.

A user can easily DOS a system from the login screen with up/down arrows.

TEST CASE:
1. With Unity Greeter enabled, press Down to select 'Guest Account'
  -> Switch to a console and verify that a directory named /tmp/guest-home.XXXXX exists
2. Switch back to lightdm
3. Quickly press Up/Down for a few seconds to switch between the Guest Account and another entry
  -> Switch to a console and count the number of ck-history process
$ pgrep ck-history| wc -l

The number increase really quickly to the point the system becomes unusable.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: unity-greeter 0.0.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-5.6-generic 3.0.0-rc7
Uname: Linux 3.0.0-5-generic i686
Architecture: i386
Date: Mon Jul 25 23:58:00 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110209)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: unity-greeter
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Changed in unity-greeter (Ubuntu Oneiric):
importance: Undecided → High
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
description: updated
description: updated
visibility: private → public
Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you try if that's still an issue with the new version?

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Fixed with latest update. Thanks.

Changed in unity-greeter (Ubuntu Oneiric):
status: New → Fix Released
tags: added: testcase
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

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