"auth sufficient" means that device isn't required for authentication.

Have you tried "auth required"?

** Changed in: lightdm (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1159457

Title:
  lightdm allows login with unplugged device needed for authentication

Status in “lightdm” package in Ubuntu:
  Incomplete

Bug description:
  Even if I unplugged device needed for authentication, lightdm still
  allows login without the device.

  How to reproduce:
   1. setup pam_usb.so or pam_blue.so with "auth sufficient" on 
/etc/pam.d/common-auth
      pam_usb.so:
        https://github.com/aluzzardi/pam_usb/wiki/Getting-Started
      pam_blue.so:
        http://tjworld.net/wiki/Linux/Ubuntu/BluetoothLoginAndLocking
   2. login to the user with the device
   3. logout
   4. unplug the USB device or turning off the bluetooth device
   5. press Enter to login

  Expected result:
   login rejected or fallback to password login

  Actual result:
   login allowed, without the device or password

  WORKAROUND:
   make sure to press Esc on lightdm *after* unplugging the device

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: lightdm 1.2.3-0ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-26.42~precise1-generic 3.5.7.6
  Uname: Linux 3.5.0-26-generic x86_64
  ApportVersion: 2.0.1-0ubuntu17.1
  Architecture: amd64
  CheckboxSubmission: 65fa7c094c0293dd4e9a81057a36a8fe
  CheckboxSystem: 0657dd966bc74d2b22e7c94051aa55af
  Date: Mon Mar 25 01:06:44 2013
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 
(20130213)
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   SHELL=/bin/bash
   PATH=(custom, no user)
   LANG=ja_JP.UTF-8
  SourcePackage: lightdm
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1159457/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to